The following items are implemented:
- Basic syntax highlighting of command and function syntax
- Line and block comments
- Directives
- Escape sequences in strings
- Nested %expressions% (up to 5 levels of nesting, configurable in the lexer source code), even command arg force-expr mode
- Operator-based (that is, non-(-based) continuation sections, with context depending on whether the preceding non-blank/comment line ended in a command's string arg, an expression line or an inner expression
- BIV, BIF and flow of control special highlighting (the former two with keyword list support, the flow of control list is hardcoded)
- Folding (comes almost for free with operator highlighting)
- Hotkeys, hotstrings and labels
- (-based continuation sections
http://fincs.ahk4.net/files/v2test.html