I have a custom context highlighting for autohotkey (www.autohotkey.com)
But The commands are only highlighted if there is a space " " or linebreak following the command.
means:
Return
(at the end of a function is highlighted, but: )
Return(at the very end of the file is not!)
Is there a way to edit the "AHK Autohotkey.api" or "userDefineLang.xml" this way that the words are also highlighted if at the EOF or with a following , (comma is very common for Autohotkey to be next to a command!)??
Or can this be a notepad++bug?
thanks for the cool editor anyhow. But let me know if there is something about this.
eRiC
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's likely a quirk. The highlighting is likely applied to complete "tokens" found between delimiters like whitespace. If no ending delimiter, no token.
Maybe the physical end-of-file can be considered a default delimiter... --Joel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Hello!
I have a custom context highlighting for autohotkey (www.autohotkey.com)
But The commands are only highlighted if there is a space " " or linebreak following the command.
means:
Return
(at the end of a function is highlighted, but: )
Return(at the very end of the file is not!)
Is there a way to edit the "AHK Autohotkey.api" or "userDefineLang.xml" this way that the words are also highlighted if at the EOF or with a following , (comma is very common for Autohotkey to be next to a command!)??
Or can this be a notepad++bug?
thanks for the cool editor anyhow. But let me know if there is something about this.
eRiC
It's likely a quirk. The highlighting is likely applied to complete "tokens" found between delimiters like whitespace. If no ending delimiter, no token.
Maybe the physical end-of-file can be considered a default delimiter... --Joel
so won't fix!?!? :[
quirk = bug?
often everything turns green. Saving and reloading solves, temporarily, tho