language-autohotkey
language-autohotkey copied to clipboard
Function Color Problem
Predefined parameters breaks the color of the function. I guess, any punctuation breaks it actually.
exampleFunction(parameterA=8)
{
msgBox % parameterA "This function name has no color."
}
Thanks in advance.
go to grammar folder>autohotkey.cson>line 79
i have this in my version:
match: "(\\w+)([(])([\\w\\s\",]*)([)])"
you want to leave it like this:
match: "(\\w+)([(])([\\w\\s\\+\\*\",.:=-]*)([)])"
is just a quick fix
go to grammar folder>autohotkey.cson>line 79 i have this in my version:
match: "(\\w+)([(])([\\w\\s\",]*)([)])"
you want to leave it like this:match: "(\\w+)([(])([\\w\\s\\+\\*\",.:=-]*)([)])"
is just a quick fix
That fixed the issue. Thank you sir. 😊