[texworks] auto completion
Stefan Löffler
st.loeffler at gmail.com
Sun Apr 3 11:56:33 CEST 2011
Hi,
On 2011-04-03 10:42, Andreas Hirsch wrote:
> now things work _nearly_ als expected, the expanded text is:
>
> \begin{itemize}
> \item \end{itemize}
> •
>
> Could it be solved that:
>
> - \end{itemize} goes into the next line but
> - no empty line is produced?
>
> I mean
>
> \begin{itemize}
> \item
> \end{itemize}
> •
>
> and the cursor is placed behind item?
Sure.
bit:=\begin{itemize}#RET#\item#INS##RET#\end{itemize}#RET#•
Should do the trick. Note that #INS# only marks the cursor position, it
doesn't insert anything (no spaces, newlines, etc.).
HTH
Stefan
More information about the texworks
mailing list