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
Describe the bug
A number of mvBASIC flavors support the use of backslashes ('') to delineate string literals for example: A.STRING = \It's easy to use single (') and double (") quotes when using backslashes to define strings\
Unfortunately, the MV Basic Extension doesn't track the string inside the backslashes and unmatched single and double quotes continue to disrupt syntax highlighting throughout the rest of the code.
To Reproduce
Steps to reproduce the behavior:
Use backslashes to delineate a string literal
See error
Expected behavior
Syntax highlighting when backslashes to define string literals should behave the same way as it currently does if single or double quotes are nested inside string literals.
Screenshots
Versions of applicable software
Detail on the versions of any and all pieces of software that are part of your environment, such as:
Host OS : Windows 10 Enterprise
Remote OS: n/a
Extension: MV Basic 2.1.3
IDE: VS Code 1.65.0
Code samples and/or reproducible test cases STRING1 = \Here is a string with a single quote: '\ STRING2 = \Here is a string with a double quote: "\ IF STRING1 = STRING2 THEN CRT "I shouldn't see this" ELSE CRT 'I should see "this".' END
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Describe the bug
A number of mvBASIC flavors support the use of backslashes ('') to delineate string literals for example:
A.STRING = \It's easy to use single (') and double (") quotes when using backslashes to define strings\
Unfortunately, the MV Basic Extension doesn't track the string inside the backslashes and unmatched single and double quotes continue to disrupt syntax highlighting throughout the rest of the code.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Syntax highlighting when backslashes to define string literals should behave the same way as it currently does if single or double quotes are nested inside string literals.
Screenshots
Versions of applicable software
Detail on the versions of any and all pieces of software that are part of your environment, such as:
Code samples and/or reproducible test cases
STRING1 = \Here is a string with a single quote: '\
STRING2 = \Here is a string with a double quote: "\
IF STRING1 = STRING2 THEN
CRT "I shouldn't see this"
ELSE
CRT 'I should see "this".'
END
Additional context
n/a
The text was updated successfully, but these errors were encountered: