[ENH] ParenBlinking ( [et] reposted as changeset )

ducasse ducasse at iam.unibe.ch
Wed Oct 8 13:49:22 UTC 2003


Hi avi

I pressed the button too fast. Could you comments your methods?
I'm using it since you release it and I like it a lot especially for 
beginners this is really important.

Thanks

On Mercredi, oct 8, 2003, at 12:36 Europe/Zurich, marcus at ira.uka.de 
wrote:

> from preamble:
>
> "Change Set:		ParenBlinking
> Date:			8 October 2003
> Author:			Avi Bryant
>
> md: reposted as real changeset.
>
> Avi writes:
> 			
> 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.gz>



More information about the Squeak-dev mailing list