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

Bug 333657

Summary: [Refactoring] Wrong target object selected
Product: [Modeling] TMF Reporter: Jan Koehnlein <jan>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: All   
OS: All   
Whiteboard:

Description Jan Koehnlein CLA 2011-01-06 10:08:50 EST
Triggering refactoring in the following dmodel

entity X {
  attr : X
      ^
      caret position

will select the entity X as target. EObjectAtOffsetHelper should choose the element before the caret, if the caret is on a whitespace node.
Comment 1 Jan Koehnlein CLA 2011-03-26 18:42:17 EDT
Fixed in HEAD
Comment 2 Karsten Thoms CLA 2017-09-19 17:18:49 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:30:14 EDT
Closing all bugs that were set to RESOLVED before Neon.0