Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » want MultiTextEdit to undo at once
want MultiTextEdit to undo at once [message #328893] Fri, 06 June 2008 08:20
Krzysztof Banach is currently offline Krzysztof BanachFriend
Messages: 2
Registered: July 2009
Junior Member
I perform following operation on document:

MultiTextEdit edit= new MultiTextEdit();
edit.addChild(new ReplaceEdit(start1, length1, strpage2));
edit.addChild(new ReplaceEdit(start2, length2, strpage1));
UndoEdit undo = edit.apply(document);


Now when I call undo (ctrl+z) in my text editor only second replace is
undone, then I must press ctrl+z again. I want my MultiTextEdit to undo at
once. How can this be done ?

best regards
Previous Topic:java.lang.StackOverflowError in BundleLoader with version 3.4rc3
Next Topic:$HOME/.eclipse/org.eclipse.platform_3.3.0_XXXXXXXXX - What formula is used?
Goto Forum:
  


Current Time: Sat Nov 09 03:38:07 GMT 2024

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

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

Back to the top