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

Bug 349450

Summary: [editor] change not added to undostack
Product: [ECD] Orion Reporter: Silenio Quarti <Silenio_Quarti>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact: Silenio Quarti <Silenio_Quarti>
Severity: normal    
Priority: P3 CC: eclipse.felipe, simon_kaegi
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: All   
Whiteboard:

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