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

Eliot Miranda eliot.miranda at gmail.com
Tue Aug 28 18:03:25 UTC 2018


Hi Both, Hi All,
On Tue, Aug 28, 2018 at 10:09 AM tim Rowledge <tim at rowledge.org> wrote:

> This is why I would prefer not to see this change -
>
>
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 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.!
>
>
>
>
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: RIW: Re-Invent Wheel
>
>
>
>

-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180828/8b8a1b4b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2018-08-28 at 10.08.14 AM.png
Type: image/png
Size: 61010 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180828/8b8a1b4b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2018-08-28 at 10.08.14 AM.png
Type: image/png
Size: 61010 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180828/8b8a1b4b/attachment-0003.png>


More information about the Squeak-dev mailing list