Questions tagged [undo-redo]

For issues relating to undo and/or redo operations.

In graphical use interfaces, Undo is a command used to erase the last (text or command) change done to the document reverting it to an older state. Redo is a command that reverses the undo or advances the buffer to a more current state.

Common key bindings for undo include Ctrl+Z or Command-Z, and common key bindings for redo include Ctrl+Y or Command-Shift-Z.

389 questions
-1
votes
1 answer

Combine undo hierarchies of RichEditBox and TextBox

I have a RichEditBox and a TextBox. What I want to achieve is to "combine" the undo history of both controls, as if they were one text box. When the user performs an undo in one of both elements, it should actually occur in the control with the most…
DasElias
  • 569
  • 8
  • 19
-1
votes
1 answer

Fabricjs - Implementing undo/redo on canvases

I am a newbie in vue and fabricjs and currently working on a complex application which deals with large amount of data. I have multiple canvases with different objects, which may change based on user interaction. All the changes/objects are being…
A.D
  • 356
  • 4
  • 17
-1
votes
1 answer

Undo and Redo documents

I want to undo and redo the pdf documents, which are viewed using pdftron. This is to be done to the document which are edited during runtime. I am using windows presentation Foundation(WPF) for this project.
-1
votes
1 answer

How to fix '_tkinter.TclError: nothing to undo' error

I am just trying to make a notepad using python Tkinter. when I tried to code for the undo and redo command I got error. from tkinter import * from tkinter import filedialog from tkinter import messagebox class TextEditor: current_file =…
-1
votes
1 answer

Undo redo in Eclipse E4

I'm searching for a good way to implement undo and redo functionality in an Eclipse E4 application. The undo-redo function need to be undo all the changes of the user on the current MPart. In that MPart it can be on a table change, field change,…
JimmyD
  • 2,629
  • 4
  • 29
  • 58
-1
votes
3 answers

How to implement undo/redo of files mapped in a treeview

Can anyone give an idea of how should I implement undo/redo of cutting/copying/pasting of files (dirs, subdirs) mapped in a treeview in C#? It would be great to have some code samples.
Cornel
  • 4,652
  • 15
  • 48
  • 57
-1
votes
1 answer

Undo button for Image editor

I have a program that load images and let user edit images with options that I provided. I'm working on the Undo/Redo button. So when I click on the Undo button, it should bring my image back to the last time before editing. I have ideas about…
Joe
  • 11
  • 4
-1
votes
1 answer

Qt Undo/Redo for moving items

I am implementing undo/redo for move operation on QGraphicsItemGroup in my graphics scene. It works decently for point entity. My command for move looks like: class CommandMove : public QUndoCommand { public: CommandMove(QGraphicsItemGroup *group,…
Kamalpreet Grewal
  • 822
  • 1
  • 13
  • 28
-2
votes
0 answers

How to undo something in a saved and closed excel sheet?

I changed something in my excel sheet, saved and closed it afterwards. Now I noticed that I want to undo something but the undo button doesn't work obviously and it isn't saved online or so. How can I still undo it?
-2
votes
3 answers

C# undo/redo code not doing anything

for my tile editor I have 2 stacks of TileMaps, undo and redo. Every time the user makes a change the state of the map is added to the stack, than the change is made. Here is my undo code: private void undoToolStripMenuItem_Click(object sender,…
Raj
  • 3
  • 1
-2
votes
1 answer

How can I capture a data from the user while he/she is currently typing?

I am creating a program that will be using stack as a data structure. The program's main function is "redo" and "undo". The user will be typing anything on a GUI and there will be two buttons, redo and undo. I wanted to store each word on a…
-2
votes
1 answer

Zooming And undo-redo on canvas not working properly

I am trying to implement a paint bucket tool with undo and redo functionality. The issue is that undo and redo are working properly the first time, but when I do undo redo multiple times, the code fails. Can anyone help me figure the issue out? This…
Ali Zia
  • 3,825
  • 5
  • 29
  • 77
-3
votes
1 answer

Shouldn't there be an option on Android OS to undo the misplaced or deleted text entered on apps provided by the keyboard?

Few cases of my problem: Multiple times I have encountered the problem of deleting the text in android and was unable to undo or get that text back. Selecting the whole paragraph of text to format and then by mistake replacing the selected text…
Abhilash Maurya
  • 302
  • 3
  • 18
-3
votes
2 answers

Android Bitmap Undo Redo Effect

Create Canvas with multiple tools like Pencil,eraser,Line,oval,triangle,square ,undo,redo etc. Undo,Redo not working. @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw,…
Tech
  • 59
  • 1
  • 6
1 2 3
25
26