How to have your delimiter double and single, too
Here is the solution:
In the UDL documentation it says you can use a special code within the styler options to indicate either / or
.
Thus, for your variable delimiter for the %
sign, you want to do this:
open: %
escape:
close: ((% EOL))
This will provide you with proper colouring in both situations.
Here is what it looks like in the UDL file:
<Keywords name="Delimiters">00% 01 02((% EOL)) 03" 04 05" 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
Here is my new AutoHotkey syntax file with working %
variable markers.