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

Bug 359137

Summary: Annotation at EOF is not visible
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: Silenio_Quarti
Version: 0.3   
Target Milestone: 0.3 RC1   
Hardware: PC   
OS: All   
Whiteboard:

Description Mark Macdonald CLA 2011-09-27 16:03:20 EDT
1. Create a new javascript file with this text on a single line:
var foo
2. Click Save. (At this point JSLint produces a "missing semicolon" error on the last character, but it does not appear in the UI.)
3. Add a space after "foo". As soon as the space is inserted, the annotation ruler updates to show the error.
Comment 1 Silenio Quarti CLA 2011-09-27 16:38:32 EDT
I believe the syntax check should make sure the start,end offsets of the annotation are inside the line range (not including the line delimiters).