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

marcus at ira.uka.de marcus at ira.uka.de
Wed Oct 8 10:36:30 UTC 2003


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
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParenBlinking.cs.gz
Type: application/octet-stream
Size: 1943 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031008/ff703b24/ParenBlinking.cs.obj


More information about the Squeak-dev mailing list