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

Bug 340533

Summary: [editor] Hovering over an error selects the error
Product: [Modeling] TMF Reporter: Ed Willink <ed>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: RC1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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