<div dir="ltr">Hi Both, Hi All,<br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 28, 2018 at 10:09 AM tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">This is why I would prefer not to see this change - <div><img id="gmail-m_-264166833277503744ABF36EEB-FDAD-4C9F-AF9F-E854E8A2A800" src="cid:A01A8BFB-F2D7-4577-BAEE-B5F9DBCAC0D4@(null)"><br></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div><img src="blob:https://mail.google.com/dd24f9ca-2b16-4f3b-9b56-a338431560ea"><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><br><blockquote type="cite">On 2018-08-28, at 9:33 AM, <a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a> wrote:<br><br>A new version of Tools was added to project The Inbox:<br><a href="http://source.squeak.org/inbox/Tools-LM.827.mcz" target="_blank">http://source.squeak.org/inbox/Tools-LM.827.mcz</a><br><br>==================== Summary ====================<br><br>Name: Tools-LM.827<br>Author: LM<br>Time: 28 August 2018, 6:33:04.08317 pm<br>UUID: 07abf38e-4d17-8744-bd3d-e65285f5fb8f<br>Ancestors: Tools-cmm.826<br><br>I would like to propose a change to the Workspace that simply enables syntax highlighting by default.<br><br>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.<br><br>=============== Diff against Tools-cmm.826 ===============<br><br>Item was changed:<br> ----- Method: Workspace>>initialize (in category 'initialize-release') -----<br> initialize<br> <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap">    </span><br> <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap">        </span>super initialize.<br> <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap">       </span>self initializeBindings.<br> <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap">        </span>acceptDroppedMorphs := false.<br> <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap">   </span>mustDeclareVariables := false.<br>+ <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap"> </span>environment := Environment current.<br>+ <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap">    </span>self shouldStyle: true!<br>- <span class="gmail-m_-264166833277503744Apple-tab-span" style="white-space:pre-wrap">        </span>environment := Environment current.!<br><br><br><br></blockquote><br><div><br>tim<br>--<br>tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" target="_blank">http://www.rowledge.org/tim</a><br>Strange OpCodes: RIW: Re-Invent Wheel<br><br></div><br></div></div><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>