gtksourceview keywords with leading dot



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]