[TxMt] TM2 - possible ESC completion bug for Obj-C++ syntax

Hans-Jörg Bibiko bibiko at eva.mpg.de
Thu Jan 19 10:10:44 UTC 2012


I'm coding lots of Obj-C++ stuff. I encountered two weird behaviours.

To reproduce
- open a new window, set language to Obj-C++
- press ESC ⇢ nothing happens - fine
- press ⇥, and then ESC ⇢ "retain" will be inserted whereby I didn't type any character

- if I select something in a Obj-C++ doc and press ESC the selection will be replaced by retain

I have no idea if this is a feature or a bug but I would argue that this is a bit weird since it could happen that one presses ESC more or less accidentally. At least a selection should be untouched and ESC-completion should only be invoked if there's at least one character left from cursor as it is in TM1.


More information about the textmate mailing list