Bug 182905

Summary: [misc] IDocument Position vs undo-redo for text
Product: [Eclipse Project] Platform Reporter: Peter Ossipov <petik>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: david_williams
Version: 3.2.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Peter Ossipov CLA 2007-04-18 05:44:19 EDT
When working with IDocument interface you can use such a useful thing as Position. That is fine. I like it. 
Then there is a situation when I add the position and then edit the text and finally undo the text changes. In that case the position is being updated as normal, i.e. as if I just edited the text. So, that results in the position been somewhere but not where it was originally. So, could a proper undo-redo for positions been added and IPositionUpdaters are only consulted when a "proper" change to the text been made? 
Otherwise, the situation does not make much sense to me. And I have to listen to stack events and on undo-redo events restore the positions myself which I do not really enjoy.
Comment 1 Peter Ossipov CLA 2007-04-18 05:49:58 EDT
*** Bug 182907 has been marked as a duplicate of this bug. ***
Comment 2 Dani Megert CLA 2007-04-18 17:53:04 EDT
.
Comment 3 Dani Megert CLA 2007-06-22 09:59:33 EDT
Get rid of deprecated state.
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:18:11 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.