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

Tim Johnson digit at sonic.net
Wed Aug 29 14:46:17 UTC 2018


I have seen all the follow-up on this thread, so I understand that the preference was found and this commit was retracted.  However, I just want to register myself as someone who uses Workspaces for more than just code.  I keep TODOs there, notes, and snippets of external data formats.  

I did dig into making a more plaintext-only or styled-text-only editing space in Squeak a few months back and posted a long description of my experiences.  The main takeaway (without specifics, meaning I will probably mis-state in this email) was that it seems there has been some … cross-pollination (?) … between general-purpose text editing classes and code-oriented text editing classes over Squeak’s lifetime.  To me, it looked like a number of code-oriented extensions were added to non-code-specific classes at one point, and this seemed to expose different philosophies and open deep questions on this mailing list.  :)

Anyway, I fear I may be hijacking this thread a bit.  Maybe I should dig up that old message I wrote and turn it into a Swiki page.


> On Aug 28, 2018, at 9:33 AM, commits at source.squeak.org wrote:
> A new version of Tools was added to project The Inbox:
> http://source.squeak.org/inbox/Tools-LM.827.mcz
> ==================== Summary ====================
> Name: Tools-LM.827
> Author: LM
> Time: 28 August 2018, 6:33:04.08317 pm
> UUID: 07abf38e-4d17-8744-bd3d-e65285f5fb8f
> Ancestors: Tools-cmm.826
> I would like to propose a change to the Workspace that simply enables syntax highlighting by default.
> Maybe there are reasons why syntax highlighting should be disabled, but in my year of Squeak experience I didn't once write anything other than code into the Workspace and it was very annoying to have to enable syntax highlighting manually all the time.
> =============== Diff against Tools-cmm.826 ===============
> Item was changed:
>  ----- Method: Workspace>>initialize (in category 'initialize-release') -----
>  initialize
>  	super initialize.
>  	self initializeBindings.
>  	acceptDroppedMorphs := false.
>  	mustDeclareVariables := false.
> + 	environment := Environment current.
> + 	self shouldStyle: true!
> - 	environment := Environment current.!

More information about the Squeak-dev mailing list