[texworks] auto completion

Andreas Hirsch nishni_nowgorod at gaponline.de
Sun Apr 3 12:34:39 CEST 2011


quoting Stefan Löffler, [03.04.2011 11:56 +0100]:
> 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.).

works! great!

Thank You!

Andreas

-- 
'People, it has been said, can be placed in three classes:
  the few who makes things happen,
  the many, watching things happen and
  the overwhelming majority who have no idea what is happening.'
			Nicolas Murray Butler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/texworks/attachments/20110403/f0341521/attachment.bin>


More information about the texworks mailing list