I'm comparing GeSHi's autoit.php with autohotkey.php:
autoit.php
Formatted for
PHP with the GeSHI Syntax Highlighter [
copy or print]
1 => 'color: #0000FF; font-weight: bold;',
2 => 'color: #800000; font-weight: bold;',
3 => 'color: #000080; font-style: italic; font-weight: bold;',
4 => 'color: #0080FF; font-style: italic; font-weight: bold;',
5 => 'color: #F000FF; font-style: italic;',
6 => 'color: #A00FF0; font-style: italic;'
),
'MULTI' => 'font-style: italic; color: #669900;',
0 => 'font-style: italic; color: #009933;',
1 => 'font-style: italic; color: #9977BB;',
),
0 => ''
),
0 => 'color: #FF0000; font-weight: bold;'
),
0 => 'font-weight: bold; color: #9977BB;'
),
0 => 'color: #AC00A9; font-style: italic; font-weight: bold;'
),
1 => 'color: #0000FF; font-style: italic; font-weight: bold;'
),
0 => 'color: #FF0000; font-weight: bold;'
),
0 => 'font-weight: bold; color: #AA0000;'
),
autohotkey.php
Formatted for
PHP with the GeSHI Syntax Highlighter [
copy or print]
1 => 'color: #AAAAFF; font-weight: bold;', // reserved #blue
2 => 'color: #88FF88;', // BIV yellow
3 => 'color: #FF00FF; font-style: italic;', // commands purple
4 => 'color: #888844; font-weight: bold;', // functions #0080FF
5 => 'color: #000000; font-style: italic;', // directives #black
6 => 'color: #FF0000; font-style: italic;', // hotkeys #red
7 => 'color: #000000; font-style: italic;', // gui commands #black
8 => 'color: #000000; font-style: italic;' // gui controls
),
'MULTI' => 'font-style: italic; color: #669900;',
1 => 'font-style: italic; color: #009933;'
),
0 => ''
),
0 => 'color: #00FF00; font-weight: bold;'
),
0 => 'font-weight: bold; color: #008080;'
),
0 => 'color: #0000dd;'
),
1 => 'color: #0000FF; font-style: italic; font-weight: italic;'
),
0 => 'color: #000000; font-weight: italic;'
),
0 => 'font-weight: italic; color: #A00A0;',
1 => 'color: #CC0000; font-style: italic;',
2 => 'color: #DD0000; font-style: italic;',
3 => 'color: #88FF88;'
),
Perhaps the following would work as a change:
Formatted for
PHP with the GeSHI Syntax Highlighter [
copy or print]
1 => 'color: #0000FF; font-weight: bold;', // reserved
2 => 'color: #800000; font-weight: bold;', // BIV
3 => 'color: #000080; font-style: italic; font-weight: bold;', // commands
4 => 'color: #0080FF; font-style: italic; font-weight: bold;', // functions
5 => 'color: #F000FF; font-style: italic;', // directives
6 => 'color: #FF0000; font-style: italic;', // hotkeys #red
7 => 'color: #000000; font-style: italic;', // gui commands #black
8 => 'color: #000000; font-style: italic;' // gui controls
),
'MULTI' => 'font-style: italic; color: #669900;',
1 => 'font-style: italic; color: #009933;'
),
0 => ''
),
0 => 'color: #FF0000; font-weight: bold;'
),
0 => 'font-weight: bold; color: #9977BB;'
),
0 => 'color: #AC00A9; font-style: italic; font-weight: bold;'
),
1 => 'color: #0000FF; font-style: italic; font-weight: bold;'
),
0 => 'color: #FF0000; font-weight: italic;'
),
0 => 'font-weight: italic; color: #A00A0;',
1 => 'color: #CC0000; font-style: italic;',
2 => 'color: #DD0000; font-style: italic;',
3 => 'color: #88FF88;'
),
It looks like autohotkey.php groups 'while', 'if', 'else', and 'return' separately from commands though they are listed as commands in the AHK docs.
Also, autohotkey.php doesn't appear to mention 'static', 'global', 'local', or 'ByRef'.
Perhaps it's worth checking out the content of Extras\Editors\Syntax\...