cweijan/autohotkey-plus

Double colon syntax highlighting bug

Opened this issue · 4 comments

Hello,

There is this undesired behavior where everything before a double colon is recognized as a hotkey even if the double colon is inside a string. This messes up the syntax highlighting.

image

The 3rd line is just a demonstration of how it's supposed to look.

Hi @OctaneTwisted, if you want this issue fixed, please open an issue in my fork, and I'll look into it! It is published in VS Code as "AutoHotkey Plus Plus", and it includes all the features of this extension, plus some bugfixes and readability enhancements.

Yikes, this is still broken. Adding it to the backlog

Hotstring("::ykhis", "you know how it is")
Hotstring(":C:OOS", "out-of::-spec")

Easy fix thanks to @CoffeeChaton!

Fixed in AHK++ :)