Questions tagged [undo]

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.

854 questions
0
votes
1 answer

Undofile independent of the Vim version

I'm using the Vim 7.3 feature undofile the following way: if version >= 703 set undofile set undodir=$HOME/.vim/undo set undolevels=1000 set undoreload=10000 endif I am using the same .vimrc and the same files (within a cloud storage) on…
Joachim
  • 3,210
  • 4
  • 28
  • 43
0
votes
1 answer

WPF ComboBox Undo Exception on Ctrl+Z (with Focus on SelectionChanged), Why?

Well, someone can tell me why this exception occurs in these conditions? Test Window
Luca Petrini
  • 1,695
  • 2
  • 28
  • 53
0
votes
2 answers

Why this code fails to empty undo stack

- (void)cancel { // [managedObjectContext.undoManager disableUndoRegistration]; [managedObjectContext deleteObject:object]; // I don't want this deletion to be recorded on the undo stack which is empty at this point. // …
an0
  • 17,191
  • 12
  • 86
  • 136
0
votes
1 answer

Maintain Undo In Modified, Bound, NSAttributedString

I've got an attributed string bound to a NSTextView. I'm using a method that is called (using KVO) every time the string is edited to add background color attributes to string based on a regEx match. I do this by creating a new mutable attributed…
MacRae Linton
  • 293
  • 3
  • 6
0
votes
1 answer

Read-Only and undo properties MS Access (VBA)

I have been surfing the wed looking for an answer to what I thought it was a pretty simple question, for a newbie like me.. But havent found any so here I am!. To keep things simple, i'll attach the two bits of my code that are giving me a bit of a…
0
votes
1 answer

Run a VBA function every time 'Undo' is clicked

Is it possible to run a VBA function (Word 2007) every time the user clicks 'undo' (or crtl+z)? Thanks.
David Gard
  • 11,225
  • 36
  • 115
  • 227
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

hg undo overwrite

Accidentally used > instead of >> ! The overwritten file was added by hg add two days ago but was never commited. Can hg undo that for me (maybe by magic) ?
panny
  • 2,186
  • 4
  • 23
  • 26
0
votes
2 answers

Undo CGContext lines

I know this kind of post was asked a lot of time, but I searched a lot on Google and on this site too, without finding any solution, that's why I'm posting this question. I would like to undo my CGContext line that I draw, without using UIBezierPath…
0
votes
1 answer

Core data : how to undo operations once managed objects are saved with context

I am trying to implement downloading of bulk data from several tables on the server. In my case there are 16 tables. For all these tables I will be firing 10 requests to the server. This means I have done a bit of logical groupings for related…
Devarshi
  • 16,440
  • 13
  • 72
  • 125
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…
0
votes
1 answer

undo buffer in GUI apps

In a GUI application (desktop or web), there could be multiple editable text boxes in one page/window/whatever. Do people maintain one undo buffer for each text box, or just a global buffer for the entire page/window/whatever? What's the usual…
dacongy
  • 2,504
  • 3
  • 30
  • 48
0
votes
1 answer

How to tell which NSTextField was edited?

My NSDocument subclass adopts NSTextFieldDelegate. The document window contains several NSTextField instances (all setup as outlets of the document class). When the user edits a text field, I want my document to be notified. But all the methods in…
Nicolas Miari
  • 16,006
  • 8
  • 81
  • 189
0
votes
2 answers

javascript: creating an undo with an array - difficulty navigating the array

I am trying to make an undo function in a textarea as I find the native one on IE "Have to use it at work" to be lacking. The idea is to push to the array anytime the user presses space, backspace, delete, or they right click the mouse. Where I am…
synthet1c
  • 6,152
  • 2
  • 24
  • 39