Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 423003

Summary: Current Line annotation doesn't go away when adding more lines
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 5.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-12-02 18:21:54 EST
1. Open a .js file
2. Put the caret at the last line of the file. The line is highlighted in blue.
3. Press ENTER several times
4. Expected the "current line" highlight to track the caret, but instead it grows as you add more lines to the file.

I thought this might've been caused by a change I made around annotation offset ranges (commit ddee07aa774b0a9aebf2030c0e4a56ce6f53f3ed), but that doesn't seem to be the case-- after bisecting, I found the problem started at this commit which added generic editor support: 56efa2a2e4c2c629b660ce37db112de44565f21a