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

Marcel Taeumel marcel.taeumel at student.hpi.uni-potsdam.de
Thu Feb 26 07:26:00 UTC 2015


One more argument against the stack:


(

... |aMorph ...

)


The last parenthesis was inserted automatically. No the user types another
one:


(

... (|aMorph ...

)

Finally, she wants to close that at the end. Now, where to place the cursor?
She forgot. The behavior is unexpected. If she tries this:

(

... (aMorph ...

|)

The closing one will be overwritten, because it was inserted automatically.
The stack keeps track of it.

(

... (aMorph ...

)|

Here, it is clear that a new closing parenthesis will be appended. Now if
you have this:

(((((

...

))|)))

You have *no clue* what will happen if there is a magic stack that manages
those auto-parenthesis.

I still vote for a simple, clear, local semantic here.

Best,
Marcel



--
View this message in context: http://forum.world.st/Re-Is-there-a-preference-setting-to-block-automatic-parentheses-tp4807131p4807757.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list