I read most scheme and schemedef discussions here. I copied some schemes and tried to change them.
All colors I can change are Keywords with ahk_ at the beginning.
Hope someone can help me to understand how to make this right.
thanks
<?xml version="1.0" ?>
<!-- Programmers Notepad scheme for Autohotkey -->
<Scheme>
<keyword-classes>
<keyword-class name="keywords1">
Abs ACos Asc ASin ATan AutoTrim BlockInput ahk_a1
</keyword-class>
<keyword-class name="keywords2">
Abort AboveNormal Add ahk_class ahk_group ahk_id ahk_pid All Alnum Alpha AltSubmit ahk_a2
</keyword-class>
<keyword-class name="keywords3">
A_AhkPath A_AhkVersion A_AppData A_AppDataCommon ahk_a3
</keyword-class>
<keyword-class name="keywords4">
Alt AltDown AltUp AppsKey BackSpace ahk_a4
</keyword-class>
</keyword-classes>
<schemedef name="ahk" title="Autohotkey" author="Rainer Friebel" url="http://www.pnotepad.org/" version="1"
casesensitive="false" braces="[()]">
<!-- Max 2 -->
<strings>
<!-- Double quotes string, with \ as an escape character. -->
<stringtype id="0" start=""" end=""" multiline="false" />
<stringtype id="1" start="'" end="'" multiline="false" />
</strings>
<comments>
<line start=";" blockStart="/*" blockEnd=" */" />
</comments>
<numbers start="[0-9]" />
<!-- From here on is the traditional scheme definition block... -->
<lexer name="ahk" />
<use-styles>
<style name="Default" key="32" />
<style name="Line Comment" key="1" class="comment" />
<style name="Block Comment" key="2" class="comment" />
<style name="Identifier" key="3" class="identifier" />
<style name="Number" key="4" class="number" />
<style name="keywords1" key="5" class="keyword" />
<style name="ReservedWords" key="6" class="keyword" />
<style name="Keywords3" key="7" class="keyword" />
<style name="Keywords4" key="8" class="keyword" />
<style name="String" key="10" class="string" />
<style name="String 2" key="11" class="string" />
<style name="Special Identifier" key="13" />
</use-styles>
<use-keywords>
<keyword key="0" name="Keywords" class="keywords1"/>
<keyword key="1" name="ReservedWords" class="keywords2"/>
<keyword key="2" name="Keywords3" class="keywords3"/>
<keyword key="3" name="Keywords4" class="keywords4"/>
</use-keywords>
</schemedef>
</Scheme>