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
Change the text in a TextBox with Text = "{Binding SomeText}" so it is undoable
I have a textbox that has text bound:
Is there a way to change the text from code in a way so that it is undoable.
Only way I can think of is ClipBoard and textBox.Paste() but don't want to…

Johan Larsson
- 17,112
- 9
- 74
- 88
0
votes
1 answer
How to undo a line stroke ios
Im developing a colouring app, however I cant manage to implement an UNDO button. I am unsure of the approach, I have tried implementing NSUndoManager, but I could not get it to work effectively. My approach is possibly incorrect. Im would greatly…

DevC
- 6,982
- 9
- 45
- 80
0
votes
1 answer
Android: Undo function in Painting app not working
I am working on a painting app, code as follows:
DrawActivity
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
getWindow().requestFeature(Window.FEATURE_ACTION_BAR);
…

pearmak
- 4,979
- 15
- 64
- 122
0
votes
1 answer
Python list in list undo
I'm making a program that will do some operations like add, insert, pop on a list of numbers.
I have to also make an "undo" function and for that I thought about making a list in list to save up my list every step of the way but my tests are not…

Katie44
- 29
- 1
- 10
0
votes
1 answer
Best practices for managing updating a database with a complex set of changes
I am writing an application where I have some publicly available information in a database which I want the users to be able to edit. The information is not textual like a wiki but is similar in concept because the edits bring the public information…

Sarge
- 2,367
- 2
- 23
- 36
0
votes
2 answers
how to undo an action in a webapp?
Is there any standard method for implementing an undo feature for CRUD webapps?
I have a basic cms where the user logs in, makes changes to models of various complexities and navigates between pages.

TheOne
- 10,819
- 20
- 81
- 119
0
votes
1 answer
HTML5 Canvas Drawing History
I'm curious to know how applications such as Adobe Photoshop implement their drawing history with the ability to go back or undo strokes on rasterized graphics without having to redraw each stroke from the beginning...
I'm wanting to implement a…

user1960364
- 1,951
- 6
- 28
- 47
0
votes
3 answers
Preventing a RichTextBox operation from being added to the control's Undo stack
Editing a RichTextBox control's text (more specifically, modifying selection font/color) programmatically seems to be tracked in the control's built in undo stack. Is there a way, short of writing my own undo/redo "manager", to prevent certain…

shadeMe
- 706
- 1
- 10
- 30
0
votes
2 answers
How to enable Eclipse undo in a customized view
I have a customized view. I basically Move an element from one folder to another.
After Move i am setting the selection on the new element. Still the Eclipse Undo is not enabled. I expect it to come as "Undo Move Resources" as it happens in Project…

R.P
- 11
- 1
- 5
0
votes
1 answer
Need To Revert Multiple Controls Back To Previous Values
I have the following situation where I have multiple controls on a form. The user can select an Edit mode which allows them to modify the contents of the controls (textboxes, checkboxes, comboboxes, etc.) After editing has been made, the user can…

Riples
- 1,167
- 2
- 21
- 54
0
votes
1 answer
How to return a repository back to the state it was in three commits ago?
Consider this Git repository:
$ git log -4
commit d7a65d3243259300ff133a28e952fd967df8ff24
Merge: 5572899 65d0d65
Date: Sun Jul 20 08:23:09 2014 -0400
Merge branch 'master' of ssh://foo/bar
commit…

dotancohen
- 30,064
- 36
- 138
- 197
0
votes
2 answers
How to undo the last thing a user typed in a text field when he/she presses a button?
If the user clicks a menu button it would trigger a function that would undo what the user last typed. How would I go about doing this?
user3808660
0
votes
0 answers
Eclipse editor plugin developement - listen to undo/redo
I am developing an eclipse plugin containing a multi-page xml editor among other utilits. The number of pages and its content is dependent from the first page which is a text editor. For tabs update I've implemented updateTabs() method. I would like…

Danny Lo
- 1,553
- 4
- 26
- 48
0
votes
1 answer
Column dropped by DROP SCHEMA ... CASCADE - can I recover the data?
I have a table in Postgresql and a column with hstore type. This requires hstore extension. By accident I've removed this addon from Postgresql and the column disappeared. I've reinstalled the addon but the column is still missing. Is it possible to…

freakish
- 54,167
- 9
- 132
- 169
0
votes
1 answer
How to undo the effects of one commit in Mercurial, while keeping succesive commits?
While developing one web application, I made one tiny change in one commit, and then proceeded further. Today My repo has moved on quite far down the line. I want to the undo the changes made in that particular commit, while keeping the changes made…

Devdatta Tengshe
- 4,015
- 10
- 46
- 59