Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358481 - Syntax highlighting does not update consistently
Summary: Syntax highlighting does not update consistently
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Editor (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.3 RC1   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 15:39 EDT by Kevin Dangoor CLA
Modified: 2011-10-11 15:40 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Dangoor CLA 2011-09-21 15:39:26 EDT
Build Identifier: 

At least in the case of pressing backspace, only the individual line is repainted with proper highlighting even if the rest of the current view might be invalid.

Reproducible: Always

Steps to Reproduce:
1. Go to http://www.eclipse.org/orion/
2. After the / on the first line, press space (note that the following lines are no longer highlighted as comments)
3. Press backspace (only the first line is properly marked as a comment line)
Comment 1 Kevin Dangoor CLA 2011-09-21 15:40:55 EDT
This was originally filed in Mozilla's bugzilla here: https://bugzilla.mozilla.org/show_bug.cgi?id=687855
Comment 2 Felipe Heidrich CLA 2011-09-22 16:11:32 EDT
This bug as been there forever (unfortunately).
We never fixed this in the past because we never thought that our styler would last that long... 

Silenio, I think we need to fix this.
Comment 3 Felipe Heidrich CLA 2011-09-22 16:15:03 EDT
note: folding hides this bug (if you have it enabled).
but you still can see this problem, even with folding,  changing a /** .. */ to a /*  .. */