n370 / texmaker

Automatically exported from code.google.com/p/texmaker
0 stars 0 forks source link

Wrong syntax highlighting with \newcommand #1387

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Define a command like this: 
\newcommand{\inline}{\lstinline[basicstyle=\footnotesize\ttfamily,keywordstyle={
}]}
See attached file for an example. It compiles fine.

What is the expected output? What do you see instead?
Expected: Correct syntax highlighting.
Instead: Everything after the command gets the red color for 
"Verbatim/Graphics/.." (see editor preferences)

What version of the product are you using? On what operating system?
I use Texmaker 4.3 (compiled with Qt 5.2.1 and Poppler 0.24.0) on MacOS 10.8.5 
(Mountain Lion)

Original issue reported on code.google.com by Merk.Mic...@gmail.com on 15 Oct 2014 at 8:47

Attachments: