Questions tagged [redo]
121 questions
0
votes
0 answers
Undo of a collection - Monitored Undo Framework
I am trying to implement undo and redo to my application.
To realize that stuff - I'm using the Monitored Undo Framework and MVVM light.
Here is some code (without CanExecute,..)
public class ViewModel_Main : ViewModelBase, ISupportsUndo
…

MisterPresident
- 563
- 7
- 20
0
votes
2 answers
NSUndoManager won't undo editing of a NSMutableDictionary
I'm experiencing problems with the undo operation. The following code won't undo an removeObjectForKey: operation but the redo operation setObject:ForKey: works.
- (void) insertIntoDictionary:(NSBezierPath *)thePath
{
[[[window undoManager]…

xon1c
- 423
- 5
- 12
0
votes
0 answers
Need a hint on undo, redo functionalities on many datasets in a database
I need a solution for a special scenario:
Each user has many(millions to billions) database rows of his products. Each row is an product.
Each user can only change his own products.
Each subset of those products can be changed differently.
Each…

Nighthawk2k14
- 21
- 6
0
votes
1 answer
Redo Issue in objective c
I am implementing a format bar which is used for Rich Text Editing. Among them I have two buttons Undo and Redo. I have documentation for both on apple developers but could not come up to make Redo work.
Problem is I have a UITextView. Whenever…

Sahar
- 53
- 7
0
votes
2 answers
Undo Redo functionality is not working.
I am working on a drawing app for android users. I want to implement undo redo functionality on my app. I am referring questions posted on stackoverflow to solve my problem but I could not be able to find the right solution for my code. Below I am…

himanshu
- 1,990
- 3
- 18
- 36
0
votes
2 answers
Switch::Plain - warning thrown for non-numeric input
This program throws error for redo how could i solve this
use strict;
use warnings;
use Switch::Plain;
my %data = (0 => "Enter the number",1 => "UPC",2 => "URL", 3 => "Elastic Search", 4 => "API", 5 => "MONGO", 6 => "TSV", 7 => "SQL", 8 => "JSON",…
user3231692
0
votes
1 answer
How to programmatically execute undo and redo in CKEDITOR, and reset their stacks?
Is there a way to programmatically execute undo and redo in CKEDITOR?
And the other question is: is there a way to reset the undo stack and also the redo stack?

Vito Gentile
- 13,336
- 9
- 61
- 96
0
votes
1 answer
NSUndoManager Redo prepareWithInvocationTarget
How can i set up a specific Redo action the same i setup Undo actions when using prepareWithInvocationTarget
using my approach, the redo doesn't work (undo works)
- (void)removeSmth:(Smth *)smth index:(NSInteger)indexOfSmth {
…

Peter Lapisu
- 19,915
- 16
- 123
- 179
0
votes
0 answers
How to Undo/Redo
I need to write undo/redo function for a complex object like below.
class DataContainer implements Serializable{
private PublicationType type;
private HashMap fields;
private HashMap oFields;
private…

Kaa
- 193
- 3
- 17
0
votes
2 answers
Select Redoing Until Failure, Why?
I have the following function:
fillNonDrivers(Car, Pmd, Plo, ListOfPassengers) :-
select(Passenger, Pmd, Plo1),
Passenger = [_,n,_],
/* etc */
I invoke it with trace on in the following way:
fillNonDrivers([hello, 2], [[david, n, punk]],…

davidhwang
- 1,343
- 1
- 12
- 19
0
votes
1 answer
Action script 3 drawing app undo and redo function
Can anyone show me how can I make undo and redo function? so this is my current action script. I cant figure how to do it and i see some example in some web site, the action script is to long to under stand. Pls show a simple way that i can make…
0
votes
2 answers
Drawing app undo and redo function action script 3
Can anyone show me how can I make undo and redo function? so this is my current action script. I cant figure how to do it and i see some example in some web site, the action script is to long to under stand. Pls show a simple way that i can make…
0
votes
1 answer
Keeping track of parameters using a Command Pattern and ICommand for Undo/Redo. Storing multiple commands?
I've been working on a WPF application that involves moving many shapes. It is mostly MVVM and relies heavily on commands. I had not worried about Undo/Redo until just recently. I don't think it will be too difficult since most of my changes involve…

Michael Clausing
- 52
- 2
- 11
0
votes
1 answer
How can I track system-wide file operations (for undo/redo)?
When I copy/delete files from my program I can record operations and perform Undo and Redo.
But I would like to track entire system copy/delete procedures like Explorer does, so that I can perform undo even when the delete procedure has been…

Ivan Mark
- 463
- 1
- 5
- 17
-1
votes
1 answer
How do I add an clear/redo button in a UIToolBar?
I have a "Clear" button. It clears 2 text fields back to being empty.
When the user clicks the "Clear" button once, I want it to change or become another button that adds back what it cleared. Like a "Redo" button.
How can I go about doing this? So…

Hedylove
- 1,724
- 16
- 26