#333 escape key for auto completion.

open
nobody
None
5
2012-10-17
2012-09-24
Anonymous
No
0 up votes | 0 down votes | 0%
0 comments

Dear developers.

I want to assign a key to escape from the auto-completed text.

For example, if I trigger auto-complete

\left % \right

the position of the cursor is directed to %. That is great.

However, if I fill up the contents in %, I want to trigger a escape key to go to the end of the auto-completed word, i.e., the cursor should be \right %|

If I trigger nested call, this movement gets trickier.

For example, If I use auto completion \left %| \right first and then \frac{A}{B}, the escape action should save two end point.
\left \frac{A}{B} ^ \right ^

When I trigger escape key once, the cursor should be first "^" in the above expression, if I do it again, the cursor should be located in the second "^".
Thus, this action should be based on LIFO policy in the cases I described.
It may be true that this kind of approach fails in general, but I cannot think of any example so far.

Do you think this kind of action can be implemented?

It would be really nice to have. :)

PS Sorry for my bad English, hope that I described properly.

Discussion