Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to Undo changeTextPresentation in TextViewer
How to Undo changeTextPresentation in TextViewer [message #484248] Fri, 04 September 2009 18:51 Go to next message
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
How would you go about undoing the change of a text presentation on a
TextViewer via the change text presentation command?

any tips would be grand.

thanks
Re: How to Undo changeTextPresentation in TextViewer [message #484253 is a reply to message #484248] Fri, 04 September 2009 19:42 Go to previous message
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
yipee figured it out.
OperationHistoryFactory.getOperationHistory().add( new
IUndoableOperation() {});

piece of cake.
Previous Topic:Reset row height on table resize
Next Topic:ContentProposalAdapter
Goto Forum:
  


Current Time: Sat Nov 29 03:57:27 GMT 2014

Powered by FUDForum. Page generated in 0.01647 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software