mycoolmc / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Automatic field number insertion disrupts syntax coloring #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Type a new field definition omitting the field number, so that it is added 
automatically when you press semicolon.

What is the expected output? What do you see instead?

All syntax coloring after the line being edited shifts four characters to the 
left of the code that it's supposed to highlight.  So e.g. if the keyword 
"optional" appears later in the file, only "opti" will be highlighted as a 
keyword, while "onal" is either not highlighted or takes the highlighting of 
the text to the right of the keyword.

This problem goes away after further editing, but it is jarring.

What version of the product are you using? On what operating system?

1.2.2

Original issue reported on code.google.com by temporal on 5 Mar 2012 at 8:18

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 5 Mar 2012 at 6:09

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 21 Oct 2012 at 9:15