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

Implementing undo operation

Say we have selected the entire file and deleted its content. How can we implement the undo operation for this scenario in a space efficient way.
user1846721
  • 61
  • 1
  • 1
  • 4
0
votes
2 answers

Undo git merge (and push to heroku)

This question has been asked too many times but I am not finding solution to my situation, and so will ask it again. I have 2 branches - master and residents. I have been working on residents for about 2 months, basically a complete redesign of a…
Arta
  • 5,127
  • 5
  • 25
  • 23
0
votes
1 answer

Eclipse Jface Projection Viewer - no reaction to Ctrl-Z

In my current project I am working with a specific implementation of the jface ProjectionViewer attached to a TextEditor nested in a MultiPageEditor. My task is now to implement a custom reaction to Ctrl-Z, and from what I get this is best done by…
Sevi Vöst
  • 55
  • 3
0
votes
1 answer

Develop image contrast,sharpen,warmth,crop,undo,redo functionality in asp.net c#

I want to develop image contrast,sharpen,warmth,crop,undo,redo functionality in my web application. Please tell me how can I develop this functionality ? I dont want to use .GetPixel() and .SetPixel() because it is very slow metho. so please tell…
Neel Patel
  • 11
  • 1
  • 2
0
votes
1 answer

How to let "Windows" detects the changes (Rename, Move or Delete) which I've done by my program to some files recently?

Windows displays "Undo Rename", "Undo Delete" or "Undo Move" in the system Context Menu since you do any of those recent changes to some file! I have created a program which rename specific file chosen by the user, using…
0
votes
1 answer

How to undo shortcut that you already typed in emacs?

Suppose, you type a shortcut key in emacs (say M-x) and you realize that you did not want to do it. How do you undo a shortcut that you already typed? I have tried Esc-d but that doesn't seem to do what I want. Typing C-g after a wrong input says…
Chirag
  • 1,189
  • 2
  • 21
  • 43
0
votes
1 answer

Unable to perform more than one undo

I'm trying to get my first UndoManager work, but I got a problem with the prototype. I don't understand why the following code provides only one single undo. When I change the text, click undo and change the text again, another undo won't do…
fachexot
  • 491
  • 1
  • 8
  • 24
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
0
votes
3 answers

PHP Undo Button

I'm simply trying to implement an undo button using PHP and MySQL, for example if a user deletes a post or any general item there will be an option to undo that MySQL query and leave the post as it was. Thanks in advance.
Disorganizing
  • 47
  • 1
  • 6
0
votes
1 answer

Python - Return type of List

I'm trying to implement the undo function for my image editing program. Below is part of my code: def displayim(root, panel, img, editmenu): global image, L L.append(img) print(len(L)) if (len(L) > 1): editmenu.entryconfig(0,…
huong
  • 4,534
  • 6
  • 33
  • 54
0
votes
3 answers

jQuery memoize css for hover effect

I want to create a hover effect for an element but want the pre-hover CSS for the element to be the same as before, when hovering out again. So, I don't want to inadvertantly override prior styles when hovering out of the element again. In other…
Bent Rasmussen
  • 5,538
  • 9
  • 44
  • 63
-1
votes
1 answer

How to undo by code a SwiftUI swipe action on a List cell?

My app has a SwiftUI List with cells that can be swiped (leading, trailing). Problem: Say, a cell is swiped so that the buttons are visible. Then the app is de-activated in this state, e.g. by a switch to another app, by locking the screen,…
Reinhard Männer
  • 14,022
  • 5
  • 54
  • 116
-1
votes
1 answer

How to undo action like ctrl+Z in azure data factory

I am new to azure data factory. By mistake I deleted for-each loop while developing pipeline. How can I do undo this ?
Vidya
  • 5
  • 3
-1
votes
2 answers

Implement undo/redo button in JavaFX

Ive been scrolling and scrolling and i dont seem to find any solution. I am making a simple java fx program where i draw different shapes. The problem is that i dont know how to implement an undo button. I have found that you can use stacks, command…
Haggen
  • 7
  • 2
-1
votes
1 answer

JavaFX textarea - Ctrl+z not working after textArea.setText("...")

I observed that in JavaFX textarea, Ctrl + z (for undo operation) is not working after calling textArea.setText("..."). Before setText is called, the undo operation is working fine. Is there any way to enable undo accross multiple setText calls?
Lavish Kothari
  • 2,211
  • 21
  • 29