Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340533 - [editor] Hovering over an error selects the error
Summary: [editor] Hovering over an error selects the error
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 19:56 EDT by Ed Willink CLA
Modified: 2017-09-19 17:06 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-03-20 19:56:45 EDT
M6: If you hover (even moentarily before position clicking) over an error, the error is selected so that typing at the position erases the error rext; very irritating. 
Repro:

Open the EclipseCon tutorial ESEExampleTree/model/people1.ecore.

Change #parents to #parnts

Hover over parnts

After about a second the whole of parnts is selected.
Comment 1 Ed Willink CLA 2011-05-04 04:55:18 EDT
M7: This is reproducible using the Xtext grammar editor.

While editing an error-free grammar, delete a character from a rule reference so that there is an error. Hover over the error, a quick fix appears and the whole reference is highlighted making it very diofficult to type the missing character.

The problem is that the quick fix processing selects the range, presumably to support total replacement by a quick fix, but this then inhibits character-based typing.
Comment 2 Sebastian Zarnekow CLA 2011-05-10 13:43:01 EDT
Pushed to master.
Comment 3 Karsten Thoms CLA 2017-09-19 16:55:35 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:06:27 EDT
Closing all bugs that were set to RESOLVED before Neon.0