autohotkey-plus icon indicating copy to clipboard operation
autohotkey-plus copied to clipboard

Double colon syntax highlighting bug

Open ghost opened this issue 5 years ago • 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.

ghost avatar Nov 16 '20 13:11 ghost

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.

mark-wiemer avatar Feb 05 '21 22:02 mark-wiemer

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

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

mark-wiemer avatar Nov 23 '22 09:11 mark-wiemer

Easy fix thanks to @CoffeeChaton!

mark-wiemer avatar Nov 23 '22 10:11 mark-wiemer

Fixed in AHK++ :)

mark-wiemer avatar Dec 03 '22 19:12 mark-wiemer