[squeak-dev] The Inbox: Tools-LM.827.mcz

David T. Lewis lewis at mail.msen.com
Wed Aug 29 01:38:15 UTC 2018

On Tue, Aug 28, 2018 at 02:23:59PM -0500, Leon Matthes wrote:
> Oh sorry everyone, while digging around in the Workspace(class) code, I just
> discovered that there actually is a system preference to enable styling in
> Workspaces by default...
> Sorry to bother you guys, this makes my commit kind of pointless
> Only thing I would still like to add, is that it might be good to change the
> description of this preference to something that makes it clear that "Shout
> styling" means smalltalk syntax highlighting, as this might not be obvious
> to someone who is not fairly familiar with the implementation of the
> Smalltalk compiler toolchain. This is probably also the reason why I never
> discovered the option before :P 
> Regards,
> Leon

That is a very good idea. The preference makes much more sense to me when
the description is changed as you suggest:

Workspace class>>shouldStyle
	<preference: 'Smalltalk syntax styling in Workspace' 
		category: 'browsing' 
		description: 'If true, new workspaces use Shout to style their contents.' 
		type: #Boolean>
	^ ShouldStyle ifNil: [ false ]


More information about the Squeak-dev mailing list