After a few years using Textmate to type LaTeX, I updated to Textmate 2. I'm happy with it but I still have a few problems.
The label completion ceased to work. I type \ref{} and press Command+Esc, but instead of getting a list of labels I get the following error message on a window:
Failure running “Label Based on Current Word / Selection…”. Label Based on Current Word / Selection…:9: invalid regular expression; there's no previous pattern, to which '{' would define cardinality at 1: /{}/ (RegexpError)
Does this mean it hasn't found any labels? Of course, I'm testing this on a file where (many) labels were defined.
BTW, completion for bibliographical labels (\cite{}) is working as before.
-- View this message in context: http://textmate.1073791.n5.nabble.com/Latex-label-completion-in-Textmate-2-t... Sent from the textmate users mailing list archive at Nabble.com.
On Nov 4, 2013, at 12:42, JairoB jairo.bochi@gmail.com wrote:
The label completion ceased to work. I type \ref{} and press Command+Esc, but instead of getting a list of labels I get the following error message on a window: […] Does this mean it hasn't found any labels? Of course, I'm testing this on a file where (many) labels were defined.
Looked over the command and fixed a few issues: https://github.com/textmate/latex.tmbundle/commit/cb53be43c2807e07d498ceeccc...
Your bundle should update automatically within a few hours.