GNOME Bugzilla – Bug 650667
Wrong syntax highlighting for umlauts in XML mode
Last modified: 2013-09-26 16:07:24 UTC
this report has been filed here: https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/459227 "When switch to XML mode and edit an xml file which has german umlauts (ä for example) in an attribute name. Instead of having only two letters (from the screenshot) highlighted, there are now all letters in a word with umlauts (üöä) highlighted as incorrect <Seitenformat breite="150mm" höhe="200mm" />" " https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/459227/+attachment/875902/+files/Bildschirmfoto%202009-10-23%20um%2019.03.41.png
Created attachment 255645 [details] [review] xml.lang: fix prefix and name regexes a-zA-Z doesn't include special characters, like ö, ß, etc. Use the [:alpha:] and [:alnum:] character classes instead.
Commit pushed. It will be available for GtkSourceView 3.10.1.