undo-redo Questions

6

Solved

I'm using an UndoManager to capture changes in my JTextArea. The method setText() however deletes everything and then pastes the text. When I undo I firstly see an empty area and then it would sho...
Lanthanide asked 26/6, 2014 at 14:23

3

Solved

The default IntelliJ / Android Studio "Redo" action shortcut is CTRL+Shift+Z and this is a common problem for Windows users. A bigger problem is CTRL+Y is mapped to the "Delete line" action - and ...
Aldora asked 11/8, 2014 at 13:29

8

Solved

I have a TextBox which I would like to implement undo/redo functionality for. I have read that it might have some slight undo functionality already, but that it is buggy? Anyways, I would like to i...
Ottavia asked 28/2, 2009 at 9:35

11

Solved

This article says that "Emacs has redo because you can reverse direction while undoing, thereby undoing the undo". What does this mean? How can a user 'redo' with Emacs?
Poteet asked 19/8, 2010 at 23:41

2

I have provided two separates button for Ctrl+z and Ctrl+y. I want the Ctrl+z and Ctrl+y functionality to be performed on the click of a button. To achieve this, I am trying to trigger Ctrl+z and ...
Calgary asked 3/12, 2015 at 10:15

3

Solved

How can I access the QUndoStack of a QTextDocument? (For example, I want to be able to add custom QUndoCommand objects to the document's undo stack)
Fleuron asked 7/6, 2010 at 21:28

5

Solved

I feel a bit embarrassed asking this questions, but how the heck can I get regular undo/redo buttons into the toolbar of eclipse? I've often to switch between German and English keyboard layout. Y...
Lois asked 4/5, 2009 at 12:19

5

Solved

As far as I know, when you want to undo something in Git you have to explicitly find the command to undo whatever it is you've done and issue it. For instance, one way among many to undo a commit a...
Carcinomatosis asked 1/12, 2011 at 18:42

3

Solved

Is there a way to edit the contents of an input or textarea with javascript, and have that change be undo-able with the browser's "undo" command (eg ctrl-Z)? I am trying to insert a string, such a...
Debarath asked 19/11, 2014 at 21:58

4

Solved

I'm writing a desktop application to do vector drawing in C++, and considering using sqlite to back my undo/redo feature. Has anybody used sqlite for undo/redo features? How does it work out for ...
Rupiah asked 31/3, 2009 at 13:10

1

I am thinking of ways to implement undo,redo functionality in an angular app. The first and most basic idea was to use a model that completely describes the app internals, lets call it AppModel. O...
Braiding asked 30/3, 2018 at 8:15

4

I am using paper_trail for undo/redo functionality in my site and am having a problem when I call reify.save on a version in that on save and new PaperTrail::Version gets created. Is there a way t...
Lyrate asked 21/9, 2016 at 11:46

2

Solved

Basically what i want is if a user selects some text in a textarea and presses ctrl + b then the text within the selection should be surrounded by stars. so basically what I want is : 1) texta...
Twister asked 27/5, 2016 at 11:41

4

A few days ago, I posted a question regarding how to update text in Internet Explorer. As it appears, the method used doesn't also works in Firefox. This made me thinks if there is a way to modify...
Confiscate asked 6/11, 2013 at 14:18

6

Solved

In normal text editors [with all due respect to Vim] there is a shortcut Ctrl+Z when you have done something nasty and want to return to the previous version of the text. Like BACK button in Word. ...
Unconstitutional asked 15/9, 2012 at 9:26

15

Problem In my iPad app, I cannot attach a popover to a button bar item only after press-and-hold events. But this seems to be standard for undo/redo. How do other apps do this? Background I hav...

1

Solved

I want to add an undo/redo function in my script. I have looked around and see some suggestions, most of them recommended to use the command pattern. The function must work over one page - af...
Charged asked 29/1, 2019 at 8:1

1

In the past, when you set the value of a textarea using javascript, Firefox allowed the user to undo this change (by pressing ctrl+Z, for example). However, this no longer works, and there doesn't ...
Benedikta asked 11/8, 2018 at 2:41

5

Solved

I've just moved from Eclipse to Android Studio and am finding really weird behaviour when I try to do Ctrl+Z / Ctrl+Y to undo/redo code changes. It hard to describe what happens exactly, but the e...
Boabdil asked 31/8, 2015 at 19:50

2

In Fabric.js we have Object modified events like object:modified. Do we have similar event for the entire canvas. Actually I am trying to implement undo and redo features. I am saving the canvas a...
Darrel asked 29/8, 2013 at 9:36

6

Solved

I was reading around for undo/redo techniques, I understand how should it be implemented (I found it intuitive). However I'm thinking about the collection that should be used as history, A lot of...
Obreption asked 24/4, 2011 at 11:31

2

Solved

I want to implement undo action after replacing portion of text in an NSTextView. I am replacing portion of text with following code - (void)omeAction { NSString *fullString = [self.textView stri...
Mccombs asked 31/8, 2014 at 10:5

0

When I have an input field with a certain value in it, and some JavaScript changes its value, I used to be able to click into the field and hit Ctrl-Z in order to get the old value back. It seems ...
Okhotsk asked 13/9, 2017 at 17:38

5

Solved

I need to implement Undo/Redo frame work for my window application(editor like powerpoint), what should be the best practice to follow, how would be handle all property changes of my objects ...
Depside asked 16/12, 2009 at 16:35

5

Solved

I want to implement UNDO and REDO option(as we see in MS word etc). Can you suggest me a data structure for it, and how can i implement it.?
Nebraska asked 31/3, 2009 at 14:5

© 2022 - 2024 — McMap. All rights reserved.