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
[cpp] matchbrackets is broken when -> is used. #233
If one uses the latest version of CodeMirror, this is broken. In the C++ example, navigate to "Class::Method2" and put the cursor at the end of the line (line 34). The curly brace incorrectly matches to the > in "value->Method3" instead of the end of method.
This likely broke after the following commit for vim which modified the matchbrackets addon: codemirror/codemirror5@9376ad8
Hmm... I still see CodeMirror-nonmatchingbracket applied to an angle bracket where my cursor is after that commit. That doesn't seem right to me; was that your intent?
Activity
marijnh commentedon Dec 18, 2018
This is a regression in matchbrackets.js, caused by codemirror/codemirror5@9376ad89d . Attached patch (in the CodeMirror repo) fixes it.
takamori commentedon Dec 19, 2018
Hmm... I still see CodeMirror-nonmatchingbracket applied to an angle bracket where my cursor is after that commit. That doesn't seem right to me; was that your intent?
[matchbrackets addon] More thoroughly disable matching of <> by default
marijnh commentedon Dec 19, 2018
Ah, right, I missed a case. Attached patch should help with that.
Fix issue where bracket matching was unintentionally including <> by …
[matchbrackets addon] More thoroughly disable matching of <> by default
Update from master (#1)
Fix issue where bracket matching was unintentionally including <> by …
Fix issue where bracket matching was unintentionally including <> by …