Syntax highlighting for INI files.

Topics: User Forum
Apr 7, 2010 at 4:54 PM


I have a problem trying to make Scintilla highlight ini files. I just can not find the lexer for .ini. Obvious guesses: 'props' and 'conf' didn't help. Any hint is appreciated, thanks.

Apr 7, 2010 at 5:58 PM

Ah yes this one is weird. "props" should work but it's referenced by name as both "props" and "Properties" in Scintilla. This inconsistency led me to implement it incorrectly.

You best bet is to open Enums.cs and change Lexer.Properties to Lexer.Props (refactor since it's used in various places). 

Apr 8, 2010 at 9:55 AM

Thanks a lot! That helped.