mvextensions / mvbasic

MultiValue Basic extension for Visual Studio Code
MIT License
30 stars 16 forks source link

Fix parsing of mult expression var * var #161

Closed stuboydl closed 2 years ago

stuboydl commented 3 years ago

Fix label must be start of line Fix highlight ";" not part of comment

stuboydl commented 3 years ago

Current syntax highlighter regex does not parse multiplication expressions properly and will cause remainder of line after the asterisk to be highlighted as comment.

abc * def ...
    ^------------->

This change fixes that; also that label should be at hard start of line; also does not highlight preceeding semicolon as part of comment in an in-line comment.

itsxallwater commented 3 years ago

Thanks @stuboydl will put this on my to do list. May be a minute but we're due for some package updates here anyway so it will be good to get a few things added in.

itsxallwater commented 2 years ago

Gearing up for 2.1.3 to fix a major issue with the latest VS Code versions. Will include this change for testing and release.