gtksourceview keywords with leading dot

"Johan Tibell" <[email protected]>
Newsgroups gmane.comp.gnome.devtools
Message-ID <[email protected]>
Hi,

I've tried to have a .lang file with keywords starting with a dot "."
(for a form of assembler) but it doesn't work. I've tried to define an
escape char as well "\" and use that but still no luck. Is there some
docs somewhere which could tell me the proper syntax?

Here's an example:

<escape-char>\</escape-char>

<keyword-list _name = "Keywords" style = "Keyword" case-sensitive="TRUE">
	<keyword>.sub</keyword> <!-- no worky -->
	<keyword>\.end</keyword> <!-- here neither -->
</keyword-list>

Thanks,

Johan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.