[squeak-dev] Re: Is there a preference setting to block automatic parentheses?

Bert Freudenberg bert at freudenbergs.de
Tue Feb 24 18:12:14 UTC 2015


On 24.02.2015, at 09:23, Chris Muller <asqueaker at gmail.com> wrote:
> Try filing in the attached patch and see if it does what you want.

MNU: nextNonwhitespaceCharacter

>  It
> simply checks the next non-whitespace character in front of the cursor
> and if its the same closer that was typed, simply advances the cursor
> rather than type the closing character.

This sounds too simplistic to me. Wouldn't that mean I can never insert an additional closing paren?

I think the editor needs to keep a stack of auto-inserted characters.

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150224/44f7e69d/smime.bin


More information about the Squeak-dev mailing list