Bug 6276 - DCR - Missing undo api on Text
Summary: DCR - Missing undo api on Text
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 4453 152597 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-23 15:35 EST by Randy Giffen CLA
Modified: 2019-02-08 02:12 EST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?