Delimiter balancing should ignore comments and quoted strings

Started by: jjasmith41 voices1 posts

Tagged: balancing, comment, delimiter, quoted, string

Let's say I have a line of C++ code such as this: char left_paren = '('; // initialize this to a ( character Both of the left parentheses should be ignored, because one is in a single-quoted string, and the other is in a comment. But EmEditor expects two right parentheses somewhere below.

1 posts in this topic