esprehn / chromium-codereview

A chrome extension that changes the frontend to Rietveld for Chromium
Other
35 stars 11 forks source link

Syntax state from old and new lines can conflict #104

Open esprehn opened 9 years ago

esprehn commented 9 years ago

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.