[TxMt] LATEX Bundle : Missing(perhaps) features

Alain Matthes alain.matthes at mac.com
Tue Nov 21 14:49:53 UTC 2006

Le 21 nov. 06 à 14:48, Charilaos Skiadas a écrit :

> On Nov 21, 2006, at 3:40 AM, Alain Matthes wrote:
>> I miss the feature ?
> ctrl-shift-W  (Wrap Selection In -> Command)

Sorry i know it but i think alaways that is only for emph :((
>> 2) Is it a possible in a special environment to use a special  
>> langage grammar,
>> and/or a special coloring syntax and/or a special completion ??
> Yes, in fact we already do this for the lstlisting environments. It  
> requires changing the grammar a bit, by adding some rules, and of  
> course also to know what  the special syntax/completions you want  
> to perform are. We already have three special completion behaviors:
> 1) When typing a command, like "\bet", pressing escape will  
> complete based on a fixed set of commands, in this case it will  
> complete to \beta. If you find some commands missing, we can add them.
> 2) When inside a \ref{},  escape completes using all \label{} entries.
> 3) When inside a \cite{}, escape completes using bibliography entries.
> So what you want is doable, provided you specify the syntax needed  
> between the \begin-\end groups.

Ok thanks it's intereting for drawing with pstricks, pgf, gnuplot and  
asymptote !



PS I've a problem with CMD } this shortcut don't work

More information about the textmate mailing list