[squeak-dev] The Trunk: System-mt.1253.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Nov 25 13:32:53 UTC 2021

Marcel Taeumel uploaded a new version of System to project The Trunk:

==================== Summary ====================

Name: System-mt.1253
Author: mt
Time: 25 November 2021, 2:32:49.237354 pm
UUID: 6ef62b9e-a8df-614a-b378-4c876e2d16a8
Ancestors: System-ct.1252

Complements Morphic-mt.1802.

Here is the original comment, I forgot to append to 1802:

This changeset complements the refactoring from System-mt.1240 intended to decouple the base system from Shout. In various places, there were still hard-coded references to SHTextStylerST80 that did not use the new TextStyler abstraction. These accesses are redirected correctly with this changeset. Furthermore, the TextStyler interface is updated to not automatically set a styler if it has been set to nil manually. This makes it possible to opt-out to styling via ShoutCore-ct.88.

=============== Diff against System-ct.1252 ===============

Item was changed:
  ----- Method: AppRegistry class>>default (in category 'accessing') -----
+ 	"Maybe interactive. Answer the default app in this registry. Ask the user for a new default if none was set."
  	^ default ifNil: [self askForDefault]!

Item was changed:
  ----- Method: TextStyler class>>default (in category 'accessing - Smalltalk') -----
+ 	"Overwritten to lookup a styler for #Smalltalk syntax. See #defaultFor:. Maybe interactive."
  	^ self defaultFor: #Smalltalk!

Item was changed:
  ----- Method: TextStyler class>>defaultFor: (in category 'accessing') -----
  defaultFor: syntax
+ 	"Syntax-specifc version of #default. Still maybe interactive. Answer the default styler for syntax. Ask the user for a new default if no styler was set."
  	^ default
  		at: syntax
  		ifAbsent: [self askForDefaultFor: syntax]!

More information about the Squeak-dev mailing list