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
-1
votes
1 answer

Google Script: Cancel/revert input onEdit

I'm currently working on a pre-filled sheet, that is made available on Google Drive, for users to keep track of their personal data. As there are too many users and the data being personal, they cannot edit the source file, hence the need for…
Thomas
  • 1
  • 1
-1
votes
1 answer

how to undo last draw stroke in imageContext

I want my swift code to undo the last drawn stroke. I have seen something like the use of PopLast() but connecting that with image view pic does not work. To do the drawing I am using GetImageContext. Which i know has less options with drawing. But…
joe buck
  • 31
  • 1
  • 7
-1
votes
1 answer

How to undo reading lines from text file in Fortran/ How to Re-read the same lines already read before in Fortran

There is a set of data in a text file which is the hourly temperature and rainfall. I wanted to read this data in a particular way in Fortran. Data in the text file: Day 1 Hour 1 Temp rain Day 1 Hour 2 Temp rain Day 1 Hour 3 Temp rain ... Day 1…
-1
votes
1 answer

Undo function to the Linked List class

Hey I'm a beginner in C++ and I want to Add an Undo function to the linkedList class in C++ , The function reverses the last operation done on the list such as (append , insertAt , deleteAt , clear ) , Any ideas about what is the best way to go…
-1
votes
1 answer

How to add Undo for NSBezierPath with NSUndoManager on Mac OS X with Swift 4?

I'm trying to add Undo function for NSBezierPath. This function draws circle with NSBezierPath with radius 45. with mouseLocation as center of the circle Then it draws the NSBezierPath on CAShapeLayer and add to the NSViewController's view. How…
-1
votes
2 answers

Undo deleted row on DataGridView

I have a DataGridView that imports data from an Excel file. And on the form, it has a delete button wherein if a row is selected from the DataGridView table then the delete button is clicked, the row selected is deleted. Is there a way to 'undo' the…
Bjorn
  • 35
  • 1
  • 9
-1
votes
1 answer

How-to disable undo (CTRL-Z) in Greatis Form Designer

The title says it all. I'm trying to disabled the undo function when called by the shortcut CTRL-Z in the Form Designer from Greatis Software There is no documentation on the web site. For those who used greatis Form Designer, I tried to listen to…
Fid
  • 568
  • 5
  • 13
-1
votes
1 answer

How can I commit reversal of last commit?

I've just created a huge commit. Now I want to commit the reversal of these changes. So basically I want to have the same files in my repo as I'll have after git reset --hard HEAD~1, but I'd like to keep the history of my changes, so create a new…
Daniel Stradowski
  • 3,466
  • 1
  • 12
  • 21
-1
votes
2 answers

Is there any way to undo a "`git reset .`"? It 'reverted' all files - all edits have been lost from my working directory

I staged a grand number of files for commit. Then I realized it was better to commit only two of the files, and then commit the remaining ones in a separate commit. git reset unstages filename I wanted to unstage everything, then restage…
SherylHohman
  • 16,580
  • 17
  • 88
  • 94
-1
votes
1 answer

How can I undo changes and retrieve previous form state in winform?

I am programming a game, in which i sometimes need to undo some steps, is there a direct way to do this? I tried putting the controls in data structures, stacks and lists and so, but things are too complicated in my game. thanks
Sujood
  • 15
  • 5
-1
votes
1 answer

How to undo DROP TABLE statement without backup in SQL?

How to undo DROP TABLE statement without backup in SQL?
-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
-1
votes
2 answers

made changes, compiled and regret

I made today few changes by ctrl+h to all the solution. When I understood my mistakes I tried to undo it with ctrl-Z but the results were awful. The question is : How can I reload the last compiled project before I had done this stupid move. Lets…
-1
votes
1 answer

vim 1.14 source code undo.c

I am reading the code of vim 1.14 and I have some questions about undo.c. I don't understand the implementation of the undo/redo operation, especially in the function u_undoredo(). I want to know why it uses the link list u_entry?
-1
votes
1 answer

Drawing app. How to create undo function in action script 3?

Can anyone show me how can I make undo 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 this…
1 2 3
56
57