Questions tagged [redo]
121 questions
2
votes
4 answers
Can't get my head around implementing an Undo/Redo functionality, should I use a Stack?
I'm getting kind of confused right now, having one of those days I guess.
I need to implement an Undo and Redo functionality for a form. For simplicities sake, let's say that I only save the control which was modified and the value it had when it…

Only Bolivian Here
- 35,719
- 63
- 161
- 257
2
votes
2 answers
Clearing NSUndoManager's Redo stack
In my application, there are some actions I want to undo programmatically, without giving the user the option of clicking "Redo". Is there any way to clear the Redo stack of NSUndoManager? If not, and I were to subclass NSUndoManager, is there any…

Dov
- 15,530
- 13
- 76
- 177
2
votes
1 answer
Delphi - TStack Capacity confusion
I have been working with TStack to try and implement a simple Undo/Redo feature in my program. The thought behind this is that as an action is performed the current state of the program is saved - i.e. pushed to the stack. When the user clicks undo…

Toby Dobbs
- 31
- 3
2
votes
2 answers
How to recover or prevent from accidental UNDO/REDO operations on Visual Studio 2010
Case 1 (Overwritten undo/redo history)
You are editing source codes on "Program.cs". After a dedicated hour, You've done with 100 lines and typed "Ctrl+S"(Save).
To take a break, you left your desk without closing the "Program.cs" and Visual…

dosuken123
- 438
- 3
- 7
- 19
2
votes
1 answer
jetty replay request on timeout
We are facing an issue in Jetty where on timeout it replays the original request again if we don't complete the request from async context. Here is the behavior, for every request we set a async listener with timeout, so we have 2 threads in play,…

Jazz
- 147
- 1
- 1
- 5
2
votes
0 answers
How do you integrate (html5) undoManager with execCommand to have a unified undo/redo stack?
I have been working with html5 undoManager in firefox and have found it to work quite nicely, but have not found a way to get it to work with copy/paste and other non undoManager.transact items. In other words, document.undoManager.undo() and…

user1690921
- 91
- 3
2
votes
2 answers
Using a single JTextArea with multiple UndoManagers
I have a JTextArea and a JComboBox to allow me to cycle through various open files - the contents of the JTextArea change as I select a different file. I am trying to maintain a different Undo buffer per file and have defined a separate UndoManager…

chrixm
- 942
- 6
- 26
2
votes
1 answer
why do DBMS use redo log?
redo log is used for redo committed transaction after DB crash. However, updates of committed transaction are written to disk when commit. why does DBMS use redo log? What actually a DBMS does when a transaction commits? Thanks!

dykw
- 1,199
- 3
- 13
- 17
2
votes
4 answers
Java auto update all references when replacing (not changing) object?
So I have an ArrayList of objects of my own class:
public class A
{...}
Now say I have a variable that holds one of these objects from the list. Now I know if I change that object (e.g. set a field on that object), that this changes the memory that…

cdbeelala89
- 2,066
- 3
- 28
- 39
2
votes
1 answer
Does Oracle use steal/no-force approach?
I already googled hours for his, but I just can't find any information about this.
It says everywhere that steal/no-force is the most common approach for database systems, but without proof I cannot be sure.

anti_gone
- 973
- 8
- 18
2
votes
1 answer
triggering redo after undo
I am trying to make it to where redo is only visible after undo is used. I cannot seem to get it to work. I know there is something wrong with my signals and slots i just cant figure out how to get it to work.
here is the code for the undo and redo…

Zach Starnes
- 3,108
- 9
- 39
- 63
2
votes
1 answer
OpenLayers DrawFeature undo() and redo() functions
I need to implement undo and redo functions in my app. I found that the simpliest way(?) is to use openlayers undo and redo build-in functions. -> http://dev.openlayers.org/docs/files/OpenLayers/Control/DrawFeature-js.html
But I have troubles with…
user721588
2
votes
3 answers
How to Implement multiple Undo / Redo?
I have a form with 4 edit boxes and a memo and am trying to figure out how to implement multiple undo's redo's, so for example-
So if the user enters text in edits 3,1,2, memo then edit 4 I want to undo in the revrese order and also redo in the…

colin
- 2,983
- 6
- 41
- 49
2
votes
0 answers
Can't find how to use CompoundEdit
i'm making this application, and i need undo/redo support for the editor. I created a JTextArea and added an UndoManager, just like i saw how to do online somewhere.
But the result is that pressing Ctrl+Z only undoes the last character typed.…

Cristiano Di Buduo
- 21
- 2
1
vote
3 answers
Undo Redo with Entity Framework
I'm converting a .net program's db access from old school sql to EntityFramework
currently it has an 'undo redo' feature by holding the sql scripts in a container for later use.
Is there an easy way to implement undo redo mechanism with entity…

Rony benjamin
- 11
- 4