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.