Da: Charilaos Skiadas <cskiadas@gmail.com>
Data: 21 settembre 2007 12:10:48 GMT+02:00
A: TextMate users <textmate@lists.macromates.com>
Oggetto: Re: [TxMt] latex bundle - coloring error - \ and lstlisting
Rispondi a: TextMate users <textmate@lists.macromates.com>
Hi Luca,
I cannot reproduce this, and downloading the file you put on the ticket did not help either. Perhaps you can send me the sample file over email? The version on the web looks really weird, no newlines etc.
Btw, what is the scope on the lines both before and after your lstlisting? You can find that by placing the caret there and pressing ctrl-shift-p. Also what is the scope inside your lstlisting?
On Sep 20, 2007, at 12:22 PM, Luca Torella wrote:
There is an error in the coloring of a latex document when i put a '\' in a lstlisting; here is the example:
\begin{lstlisting}
reservedWordsFM = listToUFM $
map (\(x, y, z) -> (mkFastString x, (y, z)))
\end{lstlisting}
the '\' is legal in the lstlisting but the bundle show an invalid string and invalidate all t he remaining document
if u wanna see the file which introduce the error you can download it here:
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
Da: "Robin Houston" <robin.houston@gmail.com>
Data: 21 settembre 2007 12:18:47 GMT+02:00
A: "TextMate users" <textmate@lists.macromates.com>
Oggetto: Re: [TxMt] latex bundle - coloring error - \ and lstlisting
Rispondi a: TextMate users <textmate@lists.macromates.com>
On 21/09/2007, Charilaos Skiadas <cskiadas@gmail.com> wrote:
The version on the web looks really weird, no newlines etc.
I think that's because your web browser is trying to interpret it as HTML.
If you download it, it looks okay; though it's not a standalone document
(it doesn't start with \documentclass, nor indicate which packages it uses.)
Robin