GNOME Bugzilla – Bug 363114
Latex Syntax Highliting dont work correct
Last modified: 2007-07-26 13:24:43 UTC
Please describe the problem: The Latex Syntax highliting highlights \usepackage \begin and co. wrong. Steps to reproduce: 1. write \usepackage[utf8]{inputenc} 2. add a space like this \usepac kage[utf8]{inputenc} 3. and remove it \usepackage[utf8]{inputenc} Actual results: Per default on the first step the color should be violet After adding and removing the space it is green and bold (that is the wrong highliting) Expected results: It's violet again Does this happen every time? Yes Other information:
https://launchpad.net/products/gedit/+bug/66725
I can confirm this bug (see Launchpad). Michael and I found out that it only happens on non-English language settings. He uses German language, I use English by default. When I switched to German, I had the bug as well... but not when I worked in English language.
Bug persists in gedit 2.16.1 (Ubuntu edgy).
Seems another problem with pattern priority. With different locales, the result from gtk_text_tag_table_foreach() is different, and thus the syntax_items list in GtkSourceBuffer is built differently. Depending on bug 140097. Should be automatically fixed when we get that one.
Still in gtk 2.10.9.
fixed in gtksourceview 2