[?!$#%& third attempt to insert the graphic; sorry!]

On Aug 28, 2018, at 10:09 AM, tim Rowledge <tim@rowledge.org> wrote:

This is why I would prefer not to see this change - 
<Screen Shot 2018-08-28 at 10.08.14 AM.png>

In Pharo's Playground errors in syntax highlighting are reset after a new line (see below).  So one only sees one line of red before syntax highlighting works as desired again.  This makes it bearable.  So if we are to enable syntax highlighting by default can we first create a subclass or mode of the Shout styler that resets its parse after a new line where preceding characters have been marked as in error?  Note also that the results of doit are inserted into the text as comments.





On 2018-08-28, at 9:33 AM, commits@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.!





tim
--
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: RIW: Re-Invent Wheel