Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Double colon syntax highlighting bug #54

Open
ghost opened this issue Nov 16, 2020 · 4 comments
Open

Double colon syntax highlighting bug #54

ghost opened this issue Nov 16, 2020 · 4 comments
Assignees
Labels
bug Something isn't working syntax highlighter syntax highlighter (code coloring) issues

Comments

@ghost
Copy link

ghost commented Nov 16, 2020

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.

CoffeeChaton added a commit to CoffeeChaton/vscode-autohotkey-NekoHelp-Old that referenced this issue Nov 16, 2020
ahk.tmLanguage.json
cweijan#54

removeSpecialChar.ts
~C:: SendRaw {
@mark-wiemer
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

Easy fix thanks to @CoffeeChaton!

@mark-wiemer mark-wiemer added bug Something isn't working syntax highlighter syntax highlighter (code coloring) issues labels Nov 23, 2022
@mark-wiemer mark-wiemer changed the title Double colon synax highlighting bug Double colon syntax highlighting bug Dec 3, 2022
@mark-wiemer mark-wiemer self-assigned this Dec 3, 2022
@mark-wiemer
Copy link
Contributor

Fixed in AHK++ :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working syntax highlighter syntax highlighter (code coloring) issues
Projects
None yet
1 participant