On 25.02.2015, at 00:23, Marcel Taeumel marcel.taeumel@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 -