You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RI. is an abbreviation for RIGHT$( (so there's an open parenthesis but it's "hidden") - however owlet colours the corresponding closing ) in red because it thinks there's a missing opening ( (and similarly for all such cases it seems).
It seems bracket syntax highlighting uses a builtin feature of the editor component so this may not be easy to fix:
brackets: [["(", ")", "delimiter.parenthesis"]],
The text was updated successfully, but these errors were encountered:
I found https://microsoft.github.io/monaco-editor/monarch-static.html#complexmatch - it seems the abbreviated token with the hidden opening parenthesis (e.g. RI.) would need to have the same token class as the closing parenthesis though. We can't really change the latter without doing our own matching of parentheses, so I guess we'd need to make RI.'s token class delimiter.parenthesis and similarly for all the abbreviated tokens with a hidden (. Not ideal but better than mishighlighting the closing parenthesis as unmatched.
Example:
https://bbcmic.ro/#%7B%22v%22%3A1%2C%22program%22%3A%22A%24%3D%5C%22OWLET%5C%22%3AP.RI.A%24%2C1%29LE.A%24%2C2%29MI.A%24%2C4%2C1%29MI.A%24%2C3%2C1%29%22%7D
RI.
is an abbreviation forRIGHT$(
(so there's an open parenthesis but it's "hidden") - however owlet colours the corresponding closing)
in red because it thinks there's a missing opening(
(and similarly for all such cases it seems).It seems bracket syntax highlighting uses a builtin feature of the editor component so this may not be easy to fix:
The text was updated successfully, but these errors were encountered: