n370 / texmaker

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

lstinline syntax highlighting messed up #1520

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Write text with \lstinline{a=3;} in texmaker

What is the expected output? What do you see instead?
  Expected: syntax highlighting for "a=3;"
  Got: syntax highlight for rest of document

What version of the product are you using? On what operating system?
  Windows 7, Texmaker 4.4.1. Also had this with a previous version, that's why I updated, but the error still was there.

Please provide any additional information below.
  workaround: write \lstinline{a=3;}lstinline{}
  on the changelist of versino 3.1 to 3.2 it is mentioned:
    Bugs fixed :
      - some syntax highlighting troubles has been fixed (\verb, \lstinline, lstlisting environment,..) 

  so it seems the bug was reintroduced some time later.

Original issue reported on code.google.com by Luyomi...@gmail.com on 9 Jul 2015 at 1:10

GoogleCodeExporter commented 8 years ago
Just use the correct latex syntax for that : \ldtinline!a=3!

Original comment by pa.brac...@gmail.com on 9 Jul 2015 at 6:17