[TxMt] Re: completion in LaTeX \ref{}

kbj at linguist.umass.edu kbj at linguist.umass.edu
Sat Jul 19 14:21:28 UTC 2008


Quoting Charilaos Skiadas <cskiadas at gmail.com>:

> On Jul 18, 2008, at 1:31 PM, Kyle Johnson wrote:
>
> > I am a heavy user of the completion key (escape) in LaTeX.  At
> > present, when I press the escape key when I am inside a \ref{}
> > command, it offers me the first completion that it finds in the list
> > that it generates when I press the alt+escape key inside a \ref{}
> > command. That list is alphabetical (so far as I can see). It would be
> > more useful (for me) if instead it offered as its first choice the
> > contents of the most recent  \label{} command, and then offered them
> > in reverse order. (That is, if it behaved like it does when it is not
> > within a \ref{} command.) Indeed, it would be more useful (I think) if
> > the alt+esc key produced its offerings in reverse chronological order
> > when pressed within \ref{}.
> >
> > Is it possible to manipulate the order in which escape offers up its
> > completions?
> >
>
> The command uses its own scanner to scan through the document and
> included files and the code is already fairly complex. It is
> theoretically possible to do what you want, and anyone is welcome to
> try it out. It's certainly not an easy fix, as far as I can see.


Okay: thanks. I'll put together a work-around.

Best: Kyle


>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>







More information about the textmate mailing list