Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349450 - [editor] change not added to undostack
Summary: [editor] change not added to undostack
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Silenio Quarti CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 10:30 EDT by Silenio Quarti CLA
Modified: 2011-09-01 11:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2011-06-15 10:30:43 EDT
Steps:

1) Type some characters in line
2) hit Ctrl+D to delete the line
3) hit Ctrl+Z to undo

Note that the characters type in 1) are lost
Comment 1 Silenio Quarti CLA 2011-06-15 10:32:07 EDT
The fix is to add the following to the first line of UndoStack#startCompaundChange 

    this._commitUndo();
Comment 2 Simon Kaegi CLA 2011-06-15 10:48:36 EDT
For RC2?
Comment 3 Silenio Quarti CLA 2011-06-15 11:47:56 EDT
Yes, we should