chromium-codereview icon indicating copy to clipboard operation
chromium-codereview copied to clipboard

Syntax state from old and new lines can conflict

Open esprehn opened this issue 11 years ago • 0 comments

ex. https://codereview.chromium.org/554283003

Here a line with the start of a multi line comment was removed, and then a code line was added, but the syntax state from the removal line is reused for the new code lines making it look like a comment.

Should probably have two syntax state objects, one for old lines and one for new lines.

esprehn avatar Sep 19 '14 18:09 esprehn