[squeak-dev] Re: Is there a preference setting to block automatic
bert at freudenbergs.de
Wed Feb 25 18:41:23 UTC 2015
On 25.02.2015, at 00:23, Marcel Taeumel <marcel.taeumel at student.hpi.uni-potsdam.de> wrote:
> Hi Chris,
> this version is better than the original one. However, we still need:
> - direct removal of opening bracket should remove (automatically inserted)
> closing bracket, too
Yep. Typing "("-"<backspace>" needs to delete both the typed and auto-inserted parens. Similarly, typing "["-"("-"<backspace>"-"<backspace>" needs to delete the two typed and the two inserted chars.
> - closing the innermost of several opening brackets should not jump to the
> end (i.e. "((((|))))" -> "(((())))|")
> - single and double quotes should be considered, too
> - opening a bracket in front of a letter should not insert the closing one,
> too (i.e. "(|Morph new")
+1 to all of these.
> I agree with you that we do not need a stack of automatically inserted
> brackets but only consider the current context of the text cursor.
To get it Right™, we do need a stack, IMHO.
Morphic-cmm.760 still ignores what the user typed. It *explicitly* ignores it. If I have "bar)))))" and want to type another ")" after the "r", it does not let me. And that's not Right™ :)
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150225/9fb326be/smime.bin
More information about the Squeak-dev