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
{{ message }}
Repository navigation
The cursor-positioned character inherits the previous highlight color. #211
In the image below, the original color of the character at the cursor position is black, but it actually appears in red.
Is this the intended behavior?
Activity
nines75 commentedon Mar 26, 2025
Bracket matching also highlights the character before the cursor.
nightwing commentedon Mar 26, 2025
The cursor position is fixed with 4b9e1a0, for bracket matching unfortuately there does not seem to be any good way to intercept https://github.com/codemirror/matchbrackets/blob/24c9108ea5aef7180ace4d07c857cf5aa1c8a783/src/matchbrackets.ts#L65 to change the character for which codemirror matches the bracket
nines75 commentedon Mar 26, 2025
Thank you for the fix.
Should I create a new issue in this repository for bracket matching?