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
The checker ignores Latex commands (word preceded by \), but not if the command is preceded by one or more escaped backslashes (\\)
Text from the image:
askjdh % Correctly flagged
\askjdh % Correctly ignored
\\askjdh % Correctly flagged
\\\askjdh % Incorrectly flagged
\\\\askjdh % Correctly flagged
\\\\\askjdh % Not flagged? Seems to be a caching issue
\\\\\askjdg % incorrectly flagged
\\\\\askjdd % incorrectly flagged
For five backslashes, it does not give an error for askjdh but it does for other incorrect words. Some experimenting brings up the hypothesis that it does not give errors on the same word after a certain number of occurrences. Either way, that's not what this issue is about.
Expected behavior: ignore commands, i.e. ignore words preceded by an odd number of backslashes
Actual behavior: it ignores words only if there is exactly one backslash in front of it
The text was updated successfully, but these errors were encountered:
Jason3S
transferred this issue from streetsidesoftware/vscode-spell-checker
Nov 5, 2021
The checker ignores Latex commands (word preceded by
\
), but not if the command is preceded by one or more escaped backslashes (\\
)Text from the image:
For five backslashes, it does not give an error for
askjdh
but it does for other incorrect words. Some experimenting brings up the hypothesis that it does not give errors on the same word after a certain number of occurrences. Either way, that's not what this issue is about.Expected behavior: ignore commands, i.e. ignore words preceded by an odd number of backslashes
Actual behavior: it ignores words only if there is exactly one backslash in front of it
The text was updated successfully, but these errors were encountered: