For example, the following in math.xml makes possible autocompletion for the "equation" envirionment
Code: Select all
<lxEnvironment name="equation"
parameters="1"
desc="Math environment"
icon="math.bmp"
index="10"
expafter="}
\label{eq:}
\end{equation}"
expbefore="\begin{"/>
so that when I type "equ" and hit Ctrl+Space, the following is autocompleted
Code: Select all
\begin{equation}
\label{eq:}
\end{equation}
I want to ensure that after the autocompletion, the cursor stops at a given place, say, after "eq:". Right now, it stops at the empty line. I was not able to change the behavior by playing with the parameters in the xml code. I am using Texniccenter 2.02. I vaguely remember it is possible to achieve this effect in Texniccenter 1, forgot how to do it.
Thanks!!