We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When reading code, those characters, if not treated as special chars, can make it quite challenging to understand what's going on (e.g. see https://raw.githubusercontent.com/nickboucher/trojan-source/main/JavaScript/stretched-string.js , which is derived from an example in https://trojansource.codes/)
To avoid confusion, I was wondering if the following chars could be put in the default specialChars regex [1]:
specialChars
\u202d
\u202e
\u2066
\u2067
\u2069
[1]
codemirror5/src/edit/options.js
Line 71 in bd1b7d2
The text was updated successfully, but these errors were encountered:
Include more direction-related characters in special chars
b951d62
FIX: Make `highlightSpecialChars` replace directional isolate characters by default. Issue codemirror/codemirror5#6967
fc0440b
No branches or pull requests
When reading code, those characters, if not treated as special chars, can make it quite challenging to understand what's going on (e.g. see https://raw.githubusercontent.com/nickboucher/trojan-source/main/JavaScript/stretched-string.js , which is derived from an example in https://trojansource.codes/)
To avoid confusion, I was wondering if the following chars could be put in the default
specialChars
regex [1]:\u202d
LEFT-TO-RIGHT OVERRIDE\u202e
RIGHT-TO-LEFT OVERRIDE\u2066
LEFT-TO-RIGHT ISOLATE\u2067
RIGHT-TO-LEFT ISOLATE\u2069
POP DIRECTIONAL ISOLATE[1]
codemirror5/src/edit/options.js
Line 71 in bd1b7d2
The text was updated successfully, but these errors were encountered: