Closed kroggen closed 3 years ago
The editor is not matching braces when there is one in a comment.
To reproduce, type in the command line:
ne test.c
Then paste this code:
if (xx) { if (yy) { } else { // a comment here { } }
Move the cursor to one of the last 2 curly braces.
Not a big problem, though.
Yes, even if you have a brace inside a string, etc. The matching algorithm is very basic and content-agnostic.
The editor is not matching braces when there is one in a comment.
To reproduce, type in the command line:
Then paste this code:
Move the cursor to one of the last 2 curly braces.
Not a big problem, though.