Undo is a command in many computer programs. It erases the last change done to the document reverting it to an older state. In some more advanced programs such as graphic processing, undo will negate the last command done to the file being edited.
Questions tagged [undo]
854 questions
0
votes
2 answers
Undo changes on batch file termination
Is there anyway I can undo all the changes done by a batch file if it is terminated by a user? For example, if I am appending a text file and adding text, renaming files, deleting files by running a batch file... If a user terminates the batch file,…

WinSupp
- 361
- 2
- 6
- 20
0
votes
1 answer
Check if a textEdited() signal is emitted due to an Undo operation in a QLineEdit
When a textEdited() signal is emitted, it can be either because the user has typed/pasted/deleted/replaced some text, or it can be an Undo operation (user has pressed Ctrl+Z, or clicked Undo from the context menu).
I need to distinguish between…

sashoalm
- 75,001
- 122
- 434
- 781
0
votes
1 answer
Undo changes made in an xml file using vi editor
I made changes in a .xml file using vi editor in ubuntu terminal and saved the file with changes (used :wq). Is there any way I can undo the changes?

Nitin Labhishetty
- 1,290
- 2
- 21
- 41
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
1 answer
PhoneGap - Sqlite - SAVEPOINT
I am new to the phonegap and Sqlite development. My requirement is to undo a transaction or multiple transactions.
Can I use SAVEPOINT to achieve this? Here is the pseudo code. .
db.transaction(function (transaction) {
…

user2596892
- 93
- 1
- 9
0
votes
3 answers
Step-wise undo history for a form
I'm looking for help/ideas on how to implement a step-wise undo for a form. I have been able to get as far as a single undo event, but I'm stumped how to go further back.
In my example, the user is making a list of sorts. They select their…

user1837608
- 930
- 2
- 11
- 37
0
votes
1 answer
can I undo $rvm gemset use global?
I cannot get into my rails console anymore after issuing this in my (OSX) terminal:
$gem install pry pry-doc
$rvm gemset use global
$gem install pry pry-doc
I was following along with…

user3138341
- 219
- 2
- 3
- 12
0
votes
1 answer
Undo clears view completely
I've implemented an undo function in my paint application. The idea is that the undo sets the layer to draw from an array of saved layers. This method is called right before the view is added to for drawing. Note that layerArray is a C…

PopKernel
- 4,110
- 5
- 29
- 51
0
votes
1 answer
Undo Operation in paint application
I am using this link(http://www.raywenderlich.com/18840/how-to-make-a-simple-drawing-app-with-uikit) for making a paint application and I want to perform a undo operation as well.
I used this code to save every sketch made by the user in an mutable…

user3275031
- 39
- 1
- 1
- 4
0
votes
1 answer
`Undo operation in paint
I am using this link(http://www.raywenderlich.com/18840/how-to-make-a-simple-drawing-app-with-uikit) for making a paint application and I want to perform a undo operation as well.
I used this code to save every sketch made by the user in an mutable…

user3275031
- 39
- 1
- 1
- 4
0
votes
0 answers
How can I undo a commit that solved a conflict issue so that the conflict happens again?
found it out myself: git cherry-pick did the trick, simple cherry pick the wanted commit and the both modified status was regained so that I could merge again.
I did a commit with sha 51f1ee0e4ebebf551db20de1aa48badb0259c21b which was fine. I then…

Alex
- 9,911
- 5
- 33
- 52
0
votes
2 answers
Undo SVN 1.6 mistake via command line
I'm using Mac OS X terminal for SVN. I'm very amateur when it comes to SVN and command line. I'm typically just a front-end code monkey.
I've accidentally, somehow, committed some branches of our project inside another branch of the project while…

Randy Hall
- 7,716
- 16
- 73
- 151
0
votes
2 answers
Undo Function in python part 2
I am currently trying to create an undo function for a paint program I am creating in python and pygame. I have decided that I am going to copy the canvas after each change made to it by the user and add that copy to a list. If the user presses on…

user2950875
- 89
- 3
- 13
0
votes
2 answers
Why are my redo & undo methods for a textbox wrong?
Can somebody explain to me what I do incorrectly?
private Stack undo = new Stack();
private Stack redo = new Stack();
private void undoToolStripMenuItem_Click(object sender, EventArgs e)
{
insert();
if…

user3142035
- 43
- 1
- 8
0
votes
1 answer
CRichEditCtrl as syntax-highlighting programming language editor: SetSelectionCharFormat, undo
I'm using a CRichEditCtrl to edit a computer language, and on every change to it I'm changing the CharFormat of the text to highlight the syntax. (EG: comments in green, section headings in a bigger font, compilation errors in a different font,…

Swiss Frank
- 1,985
- 15
- 33