code-google-com / texmaker

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

Incorrect syntax highlighting near the "\_" command #1364

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. Create new LaTeX document
2. Enter a text such as "text\_with\_underscores another text" (or just open 
the attached example).

What is expected:
The words "text", "with", "underscores", etc. are highlighted as a normal text, 
"\_"s are highlighted as commands.

What happens:
The text just after "\_" (without spaces) is highlighted as command as well.

Version of TexMaker and OS:
I have tested this with TexMaker 4.3 amd64 Qt5 (from the official site) on 
Ubuntu 14.10 and on TexMaker from the Ubuntu 14.04.1 repository (package 
version 4.1-1).

Original issue reported on code.google.com by anatoly.trosinenko on 17 Sep 2014 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by pa.brac...@gmail.com on 17 Sep 2014 at 10:14