Bug 6276

Summary: DCR - Missing undo api on Text
Product: [Eclipse Project] Platform Reporter: Randy Giffen <Randy_Giffen>
Component: SWTAssignee: Steve Northover <steve_northover>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: akurtakov, bernat.to, btickets, csaszar, erich_gamma, gunnar, markus.kell.r, philippe.hordonneau, rlkeller, sayoub
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Randy Giffen CLA 2001-11-23 15:35:04 EST
1) Create a new task in the task list 
2) Popup the menu while editing the description field and note there are items 
for undo,cut,copy,paste,delete,select all
3) The api for Text has cut,copy,paste,insert(""),select all but is missing undo
We need this in order to perform an undo using our global accelerator
Comment 1 Mike Wilson CLA 2001-11-26 09:45:03 EST
The pop up menu is the default one provided by the o/s. It isn't available on 
all window systems (for example, not on motif). I'm not sure whether we can 
access it's functionality programatically, and even if we could, it would 
require us to implement the undo feature on all other platforms.
Comment 2 Steve Northover CLA 2005-06-20 15:09:29 EDT
*** Bug 4453 has been marked as a duplicate of this bug. ***
Comment 3 Steve Northover CLA 2006-08-02 11:09:37 EDT
*** Bug 152597 has been marked as a duplicate of this bug. ***
Comment 4 David Császár CLA 2007-11-22 08:45:28 EST
we have an undo menu item with the ctrl+z accelerator (jface action).
this wins against the windows ctrl+z, which is not what we want if the focus is on a text widget.
my first idea was calling text.undo() in this case, what led me to this bug.

is there a known/recommended workaround?