Questions tagged [undo-redo]

For issues relating to undo and/or redo operations.

In graphical use interfaces, Undo is a command used to erase the last (text or command) change done to the document reverting it to an older state. Redo is a command that reverses the undo or advances the buffer to a more current state.

Common key bindings for undo include Ctrl+Z or Command-Z, and common key bindings for redo include Ctrl+Y or Command-Shift-Z.

389 questions
0
votes
1 answer

Trying to understand combination of ORA-00060 and ORA-01555

I have two tables, TABLE A and TABLE B. Transaction T1 (auto commit is set to false) updates TABLE A , reads TABLE B and again updates TABLE A then commits. Transaction 2 deletes from TABLE B and has an after trigger to delete the…
user2813978
  • 131
  • 3
  • 11
0
votes
1 answer

addin to enhance VB6 undo-redo fuctionality

The VB6 IDE has a very basic undo and redo mechanism, stated here I want it to undo changes like if I move a button to some plave and press Ctrl+Z it should move back to its previous position. Can anyone guide me to a VB6 addin that does this?
PUG
  • 4,301
  • 13
  • 73
  • 115
0
votes
1 answer

Calling a function when undoing or redoing in a Text widget

I know that you can set undo=True for a Text widget, and then press CTRL + Z and CTRL + Y for undo and redo. But I was wondering if there was a function I could bind to a button or something like that.
Henry Zhu
  • 2,488
  • 9
  • 43
  • 87
0
votes
0 answers

How do you redo reverts on Svn?

How Can i redo reverts on Svn?
Yogibear
  • 153
  • 12
0
votes
0 answers

Netbeans JApplet: Adding a working redo button to redo a change when adding elements to a stack

My goal here is to code a redo button for a JApplet that pushes and pops elements from a stack on a ContentTextArea. I have successfully coded the undo button, but am having troubles with the redo button. Has anyone here done this before? private…
lizardwizard
  • 189
  • 1
  • 2
  • 10
0
votes
1 answer

How do you assign only to a pointer in C# for my undo redo class

Im trying to create an undoredo manager that doesnt matter on what object you pass in. But I cant figure out how to do this in C#. I would like to do something like a pointer to the Original Object and only change where that pointer is pointing to. …
0
votes
2 answers

How to implement undo/redo in my drawing app

I created an app to draw and wanted to implement the functions undo / redo, I tried various methods found surfing but none of them work, can someone help me? Here is my code: Variables 'public class MainDrawingView extends View { public…
rickyxd
  • 237
  • 1
  • 6
  • 14
0
votes
1 answer

How to use QUndoCommand in Qt

Hello guys I am working on a graphics editor in which I transform QGraphicsItem using 3 different QSliders for scale, rotate Z-axis and rotate X or Y-axis. So how can I use QUndoCommand to achive it. I was reading documentation Push is used for…
Zing
  • 68
  • 11
0
votes
0 answers

Error exception for undo and redo

So I'm doing the undo and redo functions using a stack object, but when I try to undo adding a friend to the array list I'm getting this error: Exception in thread "main" java.lang.NullPointerException at main.main(main.java:256) Here's the…
Ultimania
  • 105
  • 1
  • 2
  • 6
0
votes
1 answer

Implements an Undo/Redo in MVC

I have a Java application and I want to implement an Undo/Redo option. the value that I want to stock and that I want to be able to recover is an integer. My Class Model implements the interface StateEditable and I have to redefine the 2 functions…
bnabilos
  • 2,234
  • 4
  • 23
  • 30
0
votes
3 answers

button showing image only once?

Quick question, I'm a complete JS noob, so I'm having a hard time finding the correct answer on the internet. So I figured I'd ask my question here. I wrote these two functions.