42 'LANG_NAME' =>
'Autohotkey',
43 'COMMENT_SINGLE' => array(
46 'COMMENT_MULTI' => array(
'/*' =>
'*/'),
48 'QUOTEMARKS' => array(
'"'),
52 'while',
'if',
'and',
'or',
'else',
'return' 56 'A_AhkPath',
'A_AhkVersion',
'A_AppData',
'A_AppDataCommon',
57 'A_AutoTrim',
'A_BatchLines',
'A_CaretX',
'A_CaretY',
58 'A_ComputerName',
'A_ControlDelay',
'A_Cursor',
'A_DD',
59 'A_DDD',
'A_DDDD',
'A_DefaultMouseSpeed',
'A_Desktop',
60 'A_DesktopCommon',
'A_DetectHiddenText',
'A_DetectHiddenWindows',
'A_EndChar',
61 'A_EventInfo',
'A_ExitReason',
'A_FormatFloat',
'A_FormatInteger',
62 'A_Gui',
'A_GuiEvent',
'A_GuiControl',
'A_GuiControlEvent',
63 'A_GuiHeight',
'A_GuiWidth',
'A_GuiX',
'A_GuiY',
64 'A_Hour',
'A_IconFile',
'A_IconHidden',
'A_IconNumber',
65 'A_IconTip',
'A_Index',
'A_IPAddress1',
'A_IPAddress2',
66 'A_IPAddress3',
'A_IPAddress4',
'A_ISAdmin',
'A_IsCompiled',
67 'A_IsCritical',
'A_IsPaused',
'A_IsSuspended',
'A_KeyDelay',
68 'A_Language',
'A_LastError',
'A_LineFile',
'A_LineNumber',
69 'A_LoopField',
'A_LoopFileAttrib',
'A_LoopFileDir',
'A_LoopFileExt',
70 'A_LoopFileFullPath',
'A_LoopFileLongPath',
'A_LoopFileName',
'A_LoopFileShortName',
71 'A_LoopFileShortPath',
'A_LoopFileSize',
'A_LoopFileSizeKB',
'A_LoopFileSizeMB',
72 'A_LoopFileTimeAccessed',
'A_LoopFileTimeCreated',
'A_LoopFileTimeModified',
'A_LoopReadLine',
73 'A_LoopRegKey',
'A_LoopRegName',
'A_LoopRegSubkey',
'A_LoopRegTimeModified',
74 'A_LoopRegType',
'A_MDAY',
'A_Min',
'A_MM',
75 'A_MMM',
'A_MMMM',
'A_Mon',
'A_MouseDelay',
76 'A_MSec',
'A_MyDocuments',
'A_Now',
'A_NowUTC',
77 'A_NumBatchLines',
'A_OSType',
'A_OSVersion',
'A_PriorHotkey',
78 'A_ProgramFiles',
'A_Programs',
'A_ProgramsCommon',
'A_ScreenHeight',
79 'A_ScreenWidth',
'A_ScriptDir',
'A_ScriptFullPath',
'A_ScriptName',
80 'A_Sec',
'A_Space',
'A_StartMenu',
'A_StartMenuCommon',
81 'A_Startup',
'A_StartupCommon',
'A_StringCaseSense',
'A_Tab',
82 'A_Temp',
'A_ThisFunc',
'A_ThisHotkey',
'A_ThisLabel',
83 'A_ThisMenu',
'A_ThisMenuItem',
'A_ThisMenuItemPos',
'A_TickCount',
84 'A_TimeIdle',
'A_TimeIdlePhysical',
'A_TimeSincePriorHotkey',
'A_TimeSinceThisHotkey',
85 'A_TitleMatchMode',
'A_TitleMatchModeSpeed',
'A_UserName',
'A_WDay',
86 'A_WinDelay',
'A_WinDir',
'A_WorkingDir',
'A_YDay',
87 'A_YEAR',
'A_YWeek',
'A_YYYY',
'Clipboard',
88 'ClipboardAll',
'ComSpec',
'ErrorLevel',
'ProgramFiles',
92 'BlockInput',
'Break',
'Click',
93 'ClipWait',
'Continue',
'Control',
94 'ControlClick',
'ControlFocus',
'ControlGet',
95 'ControlGetFocus',
'ControlGetPos',
'ControlGetText',
96 'ControlMove',
'ControlSend',
'ControlSendRaw',
97 'ControlSetText',
'CoordMode',
'Critical',
98 'DetectHiddenText',
'DetectHiddenWindows',
'DllCall',
'Drive',
99 'DriveGet',
'DriveSpaceFree',
100 'Else',
'EnvAdd',
'EnvDiv',
101 'EnvGet',
'EnvMult',
'EnvSet',
102 'EnvSub',
'EnvUpdate',
'Exit',
103 'ExitApp',
'FileAppend',
'FileCopy',
104 'FileCopyDir',
'FileCreateDir',
'FileCreateShortcut',
105 'FileDelete',
'FileGetAttrib',
'FileGetShortcut',
106 'FileGetSize',
'FileGetTime',
'FileGetVersion',
107 'FileInstall',
'FileMove',
'FileMoveDir',
108 'FileRead',
'FileReadLine',
'FileRecycle',
109 'FileRecycleEmpty',
'FileRemoveDir',
'FileSelectFile',
110 'FileSelectFolder',
'FileSetAttrib',
'FileSetTime',
111 'FormatTime',
'Gosub',
112 'Goto',
'GroupActivate',
'GroupAdd',
113 'GroupClose',
'GroupDeactivate',
'Gui',
114 'GuiControl',
'GuiControlGet',
'Hotkey',
115 'IfExist',
'IfGreater',
'IfGreaterOrEqual',
116 'IfInString',
'IfLess',
'IfLessOrEqual',
117 'IfMsgBox',
'IfNotEqual',
'IfNotExist',
118 'IfNotInString',
'IfWinActive',
'IfWinExist',
119 'IfWinNotActive',
'IfWinNotExist',
'ImageSearch',
120 'IniDelete',
'IniRead',
'IniWrite',
121 'Input',
'InputBox',
'KeyHistory',
122 'KeyWait',
'ListHotkeys',
'ListLines',
124 'Menu',
'MouseClick',
'MouseClickDrag',
125 'MouseGetPos',
'MouseMove',
'MsgBox',
126 'OnMessage',
'OnExit',
'OutputDebug',
127 'PixelGetColor',
'PixelSearch',
'PostMessage',
128 'Process',
'Progress',
'Random',
129 'RegExMatch',
'RegExReplace',
'RegisterCallback',
130 'RegDelete',
'RegRead',
'RegWrite',
131 'Reload',
'Repeat',
'Return',
132 'Run',
'RunAs',
'RunWait',
133 'Send',
'SendEvent',
'SendInput',
134 'SendMessage',
'SendMode',
'SendPlay',
135 'SendRaw',
'SetBatchLines',
'SetCapslockState',
136 'SetControlDelay',
'SetDefaultMouseSpeed',
'SetEnv',
137 'SetFormat',
'SetKeyDelay',
'SetMouseDelay',
138 'SetNumlockState',
'SetScrollLockState',
'SetStoreCapslockMode',
139 'SetTimer',
'SetTitleMatchMode',
'SetWinDelay',
140 'SetWorkingDir',
'Shutdown',
'Sleep',
141 'Sort',
'SoundBeep',
'SoundGet',
142 'SoundGetWaveVolume',
'SoundPlay',
'SoundSet',
143 'SoundSetWaveVolume',
'SplashImage',
'SplashTextOff',
144 'SplashTextOn',
'SplitPath',
'StatusBarGetText',
145 'StatusBarWait',
'StringCaseSense',
'StringGetPos',
146 'StringLeft',
'StringLen',
'StringLower',
147 'StringMid',
'StringReplace',
'StringRight',
148 'StringSplit',
'StringTrimLeft',
'StringTrimRight',
149 'StringUpper',
'Suspend',
'SysGet',
150 'Thread',
'ToolTip',
'Transform',
151 'TrayTip',
'URLDownloadToFile',
'While',
153 'WinActivate',
'WinActivateBottom',
'WinClose',
154 'WinGet',
'WinGetActiveStats',
'WinGetActiveTitle',
155 'WinGetClass',
'WinGetPos',
'WinGetText',
156 'WinGetTitle',
'WinHide',
'WinKill',
157 'WinMaximize',
'WinMenuSelectItem',
'WinMinimize',
158 'WinMinimizeAll',
'WinMinimizeAllUndo',
'WinMove',
159 'WinRestore',
'WinSet',
'WinSetTitle',
160 'WinShow',
'WinWait',
'WinWaitActive',
161 'WinWaitClose',
'WinWaitNotActive' 164 'Abs',
'ACos',
'Asc',
'ASin',
165 'ATan',
'Ceil',
'Chr',
'Cos',
166 'Exp',
'FileExist',
'Floor',
167 'GetKeyState',
'IL_Add',
'IL_Create',
'IL_Destroy',
168 'InStr',
'IsFunc',
'IsLabel',
'Ln',
169 'Log',
'LV_Add',
'LV_Delete',
'LV_DeleteCol',
170 'LV_GetCount',
'LV_GetNext',
'LV_GetText',
'LV_Insert',
171 'LV_InsertCol',
'LV_Modify',
'LV_ModifyCol',
'LV_SetImageList',
172 'Mod',
'NumGet',
'NumPut',
174 'SB_SetIcon',
'SB_SetParts',
'SB_SetText',
'Sin',
175 'Sqrt',
'StrLen',
'SubStr',
'Tan',
176 'TV_Add',
'TV_Delete',
'TV_GetChild',
'TV_GetCount',
177 'TV_GetNext',
'TV_Get',
'TV_GetParent',
'TV_GetPrev',
178 'TV_GetSelection',
'TV_GetText',
'TV_Modify',
179 'WinActive',
'WinExist' 183 'AllowSameLineComments',
'ClipboardTimeout',
'CommentFlag',
184 'ErrorStdOut',
'EscapeChar',
'HotkeyInterval',
185 'HotkeyModifierTimeout',
'Hotstring',
'IfWinActive',
186 'IfWinExist',
'IfWinNotActive',
'IfWinNotExist',
187 'Include',
'IncludeAgain',
'InstallKeybdHook',
188 'InstallMouseHook',
'KeyHistory',
'LTrim',
189 'MaxHotkeysPerInterval',
'MaxMem',
'MaxThreads',
190 'MaxThreadsBuffer',
'MaxThreadsPerHotkey',
'NoEnv',
191 'NoTrayIcon',
'Persistent',
'SingleInstance',
192 'UseHook',
'WinActivateForce' 195 'Shift',
'LShift',
'RShift',
197 'LControl',
'RControl',
198 'Ctrl',
'LCtrl',
'RCtrl',
199 'LWin',
'RWin',
'AppsKey',
200 'AltDown',
'AltUp',
'ShiftDown',
201 'ShiftUp',
'CtrlDown',
'CtrlUp',
202 'LWinDown',
'LWinUp',
'RWinDown',
203 'RWinUp',
'LButton',
'RButton',
204 'MButton',
'WheelUp',
'WheelDown',
205 'WheelLeft',
'WheelRight',
'XButton1',
206 'XButton2',
'Joy1',
'Joy2',
207 'Joy3',
'Joy4',
'Joy5',
208 'Joy6',
'Joy7',
'Joy8',
209 'Joy9',
'Joy10',
'Joy11',
210 'Joy12',
'Joy13',
'Joy14',
211 'Joy15',
'Joy16',
'Joy17',
212 'Joy18',
'Joy19',
'Joy20',
213 'Joy21',
'Joy22',
'Joy23',
214 'Joy24',
'Joy25',
'Joy26',
215 'Joy27',
'Joy28',
'Joy29',
216 'Joy30',
'Joy31',
'Joy32',
217 'JoyX',
'JoyY',
'JoyZ',
218 'JoyR',
'JoyU',
'JoyV',
219 'JoyPOV',
'JoyName',
'JoyButtons',
220 'JoyAxes',
'JoyInfo',
'Space',
222 'Escape',
'Esc',
'BackSpace',
224 'Insert',
'Ins',
'PGUP',
227 'Right',
'PrintScreen',
'CtrlBreak',
228 'Pause',
'ScrollLock',
'CapsLock',
229 'NumLock',
'Numpad0',
'Numpad1',
230 'Numpad2',
'Numpad3',
'Numpad4',
231 'Numpad5',
'Numpad6',
'Numpad7',
232 'Numpad8',
'Numpad9',
'NumpadMult',
233 'NumpadAdd',
'NumpadSub',
'NumpadDiv',
234 'NumpadDot',
'NumpadDel',
'NumpadIns',
235 'NumpadClear',
'NumpadUp',
'NumpadDown',
236 'NumpadLeft',
'NumpadRight',
'NumpadHome',
237 'NumpadEnd',
'NumpadPgup',
'NumpadPgdn',
238 'NumpadEnter',
'F1',
'F2',
246 'F24',
'Browser_Back',
'Browser_Forward',
247 'Browser_Refresh',
'Browser_Stop',
'Browser_Search',
248 'Browser_Favorites',
'Browser_Home',
'Volume_Mute',
249 'Volume_Down',
'Volume_Up',
'Media_Next',
250 'Media_Prev',
'Media_Stop',
'Media_Play_Pause',
251 'Launch_Mail',
'Launch_Media',
'Launch_App1',
257 'Show',
'Submit',
'Cancel',
'Destroy',
258 'Font',
'Color',
'Margin',
'Flash',
'Default',
259 'GuiEscape',
'GuiClose',
'GuiSize',
'GuiContextMenu',
'GuiDropFilesTabStop',
264 'Checkbox',
'Radio',
'DropDownList',
'DDL',
265 'ComboBox',
'ListBox',
'ListView',
266 'Text',
'Edit',
'UpDown',
'Picture',
267 'TreeView',
'DateTime',
'MonthCal',
273 '+',
'-',
'*',
'/',
'&',
'^',
274 '=',
'+=',
'-=',
'*=',
'/=',
'&=',
275 '==',
'<',
'<=',
'>',
'>=',
':=',
278 'CASE_SENSITIVE' => array(
291 1 =>
'color: #AAAAFF; font-weight: bold;',
292 2 =>
'color: #88FF88;',
293 3 =>
'color: #FF00FF; font-style: italic;',
294 4 =>
'color: #888844; font-weight: bold;',
295 5 =>
'color: #000000; font-style: italic;',
296 6 =>
'color: #FF0000; font-style: italic;',
297 7 =>
'color: #000000; font-style: italic;',
298 8 =>
'color: #000000; font-style: italic;' 301 'MULTI' =>
'font-style: italic; color: #669900;',
302 1 =>
'font-style: italic; color: #009933;' 304 'ESCAPE_CHAR' => array(
308 0 =>
'color: #00FF00; font-weight: bold;' 311 0 =>
'font-weight: bold; color: #008080;' 314 0 =>
'color: #0000dd;' 317 1 =>
'color: #0000FF; font-style: italic; font-weight: italic;' 320 0 =>
'color: #000000; font-weight: italic;' 323 0 =>
'font-weight: italic; color: #A00A0;',
324 1 =>
'color: #CC0000; font-style: italic;',
325 2 =>
'color: #DD0000; font-style: italic;',
326 3 =>
'color: #88FF88;' 332 'OBJECT_SPLITTERS' => array(
337 0 =>
'%[a-zA-Z_][a-zA-Z0-9_]*%',
343 3 =>
'\bA_\w+\b(?![^<]*>)' 347 2 =>
'http://www.autohotkey.com/docs/Variables.htm#{FNAME}',
348 3 =>
'http://www.autohotkey.com/docs/commands/{FNAME}.htm',
349 4 =>
'http://www.autohotkey.com/docs/Functions.htm#BuiltIn',
350 5 =>
'http://www.autohotkey.com/docs/commands/_{FNAME}.htm',
352 7 =>
'http://www.autohotkey.com/docs/commands/Gui.htm#{FNAME}',
353 8 =>
'http://www.autohotkey.com/docs/commands/GuiControls.htm#{FNAME}' 356 'SCRIPT_DELIMITERS' => array(
358 'HIGHLIGHT_STRICT_BLOCK' => array(
364 'PARSER_CONTROL' => array(
367 'DISALLOWED_BEFORE' =>
'(?<!\w)\#'
const GESHI_COMMENTS
Used in language files to mark comments.
const GESHI_MAYBE
Strict mode might apply, and can be enabled or disabled by GeSHi->enable_strict_mode().
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.