After upgrading to Stable 3114, I noticed that the syntax file was incorrectly highlighting “sub” - for instance, in my code:
submitfirstname = rs.fields(“SFIRSTNAME”)
submitlastname = rs.fields(“SLASTNAME”)
The SUB in submit was highlighted as the beginning of a SUB, similar results when a word contains FUNCTION.
I modified ASP.sublime-package/ASP.sublime-syntax:11 -
from:
- match: ‘^\s*((?i:function|sub))\s*’
to:
- match: ‘^\s*((?i:function|sub))\b’
I’m not sure if there’s a github repository that I should submit this to, or if posting it here would be sufficient for the developers to integrate it. At the very least, if others are having this issue, here is now to fix it.
in fact, it is already fixed in my 