[ENH] ParenBlinking ([er])

Stephane Ducasse ducasse at iam.unibe.ch
Sun Jul 6 15:10:26 UTC 2003


I did not checked the code but I use it all the time :)
I use it in the environment of my book too.

Stef
On Sunday, July 6, 2003, at 10:28 AM, Avi Bryant wrote:

> This has been on SqueakMap forever, but I figured with the new BFAV 
> and so
> on it might be worth posting it as an ENH, in the hopes that it'll
> actually make it into the image.
>
> This makes two changes to the ParagraphEditor:
>  1. upon typing ), }, or ], the matching (, {, or [ will be made bold
> until the next keystroke
>  2. the meanings of return and control-return are switched (ie,
> auto-indent is the default)
>
> I have had this changeset loaded in every image I've used for the last
> year and a half, with no ill effects.  I think it makes the
> ParagraphEditor significantly more useful for writing code (which is,
> after all, what most of us use ParapraphEditor for most of the time).
>
> If people want change 1 without change 2, I'm happy to introduce a
> preference that controls that (although I personally think of 
> auto-indent
> as something any good text editor does, and can think why you wouldn't
> want it).
>
> Separating them into two changesets is more difficult, however, since 
> they
> both need to modify #dispatchOnCharacter:with:.
>
> Cheers,
> Avi
> <ParenBlinking.cs>



More information about the Squeak-dev mailing list