This project is read-only.


v1.5 Extraneous Highlighting


I just discovered that if I have the word 'include' in the path of my included files it gets highlighted as a keyword... even though it is part of a path.

I would assume this could be worked around by checking for whitespace/line ends on either side of the keyword?


include \masm32\include\

Both instances of the word 'include' get highlighted whereas only the first should be.
Closed Feb 2, 2011 at 1:03 PM by
Won't fix


alexandre_mutel wrote Feb 2, 2011 at 1:03 PM

Well, It's indeed highlighting incorrectly, but the current design of AsmHighlighter is pretty simple. In order to perform highlighting, AsmHighlighter is using a simple tokenizer. You could even put eax registers in the filepath and they will be highlighted as registers.
There is unfortunately no workaround for this.

dgkimpton wrote Feb 2, 2011 at 1:57 PM

That doesn't particularly surprise me... still I thought I would at least report it.

Thanks for making this anyway... it is still a big step up on pure black text :)