Add to highlighting for ini files?

The popular SciTE-based AutoHotkey Script Editor
User avatar
kunkel321
Posts: 1049
Joined: 30 Nov 2015, 21:19

Add to highlighting for ini files?

Post by kunkel321 » 22 May 2021, 13:40

Hi There.

I'll like to add some rules to the syntax highlighting for .ini files. I'm guessing that this is possible, but I don't know how to do it. I tried editing SciTEUser.properties. I added this:

Code: Select all

ini.keywords=\
[n] [e] [m] [s] [c] [r] [co] [su] [sd] myOps -Pun -Rad \
keywords.$(file.patterns.ini)=$(ini.keywords)
Which has the patterns I want to match. This had no effect though.

Any ideas how I can make this work? (Not sure if it matters, but I'm using a portable version of SciTE.)
ste(phen|ve) kunkel

Return to “SciTE4AutoHotkey”