[TxMt] LaTeX Syntax coloring problem (Cont.)
mapcdi at mac.com
mapcdi at mac.com
Mon Oct 27 18:31:12 UTC 2008
To continue with the previous ( & unresolved) post; see: http://lists.macromates.com/textmate/2008-May/025441.html
With this \newenvironment the scope never closes braces or the list
environment, and so the syntax color scheme is forever wrong in the
rest of the document:
%preamble(fold)
......
%create new list environment (bullets - named buls)(fold)
\newcommand{\bu}{\ensuremath{\bullet}{ }}
\newenvironment{buls}
{\begin{list}{\bu}
{
\setlength{\topsep}{3pt}
\setlength{\parsep}{0pt}
\setlength{\itemsep}{2pt}
\setlength{\labelsep}{0pt}
\setlength{\itemindent}{10pt}
\setlength{\leftmargin}{40pt}
\setlength{\rightmargin}{0pt}
\normalfont\upshape
}}
{\end{list}}
%create new list environment (bullets - named buls)(end)
.....
%preamble(end)
\begin{document}.....
some text here ****the scope here is:
text.tex.latex
meta.group.braces.tex
meta.function.environment.list.latex
___when it should just be (and in fact is without
the previous \newenvironment definition):
text.tex.latex
....\end{document}
It seems to be a bug in the Language definitions of these scopes (tex
and/or latex).
Can this be solved (and maybe the bundle updated with the correction)?
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20081027/56d119af/attachment.html>
More information about the textmate
mailing list