Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359137 - Annotation at EOF is not visible
Summary: Annotation at EOF is not visible
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Editor (show other bugs)
Version: 0.3   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: 0.3 RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 16:03 EDT by Mark Macdonald CLA
Modified: 2011-10-11 15:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).