Questions tagged [redo]

121 questions
725
votes
10 answers

How do I do redo (i.e. "undo undo") in Vim?

In Vim, I did too much undo. How do I undo this (that is, redo)?
flybywire
  • 261,858
  • 191
  • 397
  • 503
166
votes
2 answers

How to configure IntelliJ (also Android Studio) redo shortcut to CTRL+Y instead of CTRL+SHIFT+Z?

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 this causes the undo stack to be lost. To solve this…
Ismail Yavuz
  • 6,727
  • 6
  • 29
  • 50
31
votes
1 answer

Redo keyboard shortcut for Eclipse

Does anyone know what the redo keyboard shortcut for Eclipse is? I'm using Linux Mint based on Ubuntu and do all my programming there. I noticed Eclipse supports C, Java, PHP, HTML, Python. I code in all of these languages so I thought it'd be a…
answerSeeker
  • 2,692
  • 4
  • 38
  • 76
29
votes
7 answers

How can I keep undo history after saving on Visual Studio Code

I'm using latest version of VS code (1.9.0). After I undo (ctrl+z) something, and save the file (ctrl+s), then I cannot redo anymore (ctrl+y). I would like to go back and forth during the editor is running same as Sublime or other editor. Can anyone…
Eliot
  • 291
  • 1
  • 3
  • 4
25
votes
1 answer

How to redo on gedit

I'm new on Linux and new on gedit, of course. I use Ctrl+Z to undo something, but undo too much and I press Ctrl+Y, which I used to on Windows, but it not redo for me. So, how could I redo on gedit?
Bai Yang
  • 394
  • 2
  • 5
  • 17
21
votes
7 answers

Redo for loop iteration in Python

Does Python have anything in the fashion of a "redo" statement that exists in some languages? (The "redo" statement is a statement that (just like "break" or "continue") affects looping behaviour - it jumps at the beginning of innermost loop and…
Matjaž Leonardis
  • 311
  • 1
  • 2
  • 4
17
votes
8 answers

How to design undo & redo in text editor?

Part of my project is to write a text editor that is used for typing some rules, compiling my application and running it. Writing compiler was end and release beta version. In the final version we must add undo and redo to the text editor. I use a…
Sajad Bahmani
  • 17,325
  • 27
  • 86
  • 108
15
votes
2 answers

Redo an AJAX call after failure

I am accessing my website using its REST API service available to me that allows the me to first authenticate and then use that authentication's session returned value to carry out further API calls. I can access it fine and properly without any…
Neophile
  • 5,660
  • 14
  • 61
  • 107
13
votes
3 answers

Implementing Undo and Redo functionality javascript and php

I want to implement Undo and Redo functionality not only for client side but for server side as well. For insatnce i have a div containing image and i can rotate resize and rewrite it , All the basic operations for image generation. And all of the…
hashmi
  • 651
  • 2
  • 9
  • 24
12
votes
10 answers

Pythonic equivalent of unshift or redo?

I'm learning Python, and I have a situation where I want to consume items from an iterator. The tricky part is that under certain conditions, I want to "un-iterate." That is, put an item back onto the front of the iterator before I loop. For…
Bill Karwin
  • 538,548
  • 86
  • 673
  • 828
11
votes
3 answers

how to implement undo/redo operation without major changes in program

Hi I'm about to add new functionality to application which I'm currently writting. I need to write a undo/redo fnctionality. However 90% of our application is ready and I don't know what is the best way to implementing this functionality without…
pieere
  • 141
  • 1
  • 4
11
votes
3 answers

How to use Ctrl+Z and Ctrl+Y with all Text Components?

In fact i know how to implement using CTRL+Z (Undo) and CTRL+Y (Redo) with one JTextField. But i have hundreds of Text Components in my Swing application, so is there a way to apply this for all Text Components in my application, so when i click…
Brad
  • 4,457
  • 10
  • 56
  • 93
9
votes
2 answers

Undo and redo features in a Tkinter Text widget?

I need to make both a Control + Z and Shift + Control + Z function in a Tkinter Text widget, so that one may undo and redo things. Does anyone have an idea on how to do it?
rectangletangle
  • 50,393
  • 94
  • 205
  • 275
9
votes
3 answers

Destroying Canvas

I'm trying to accomplish undo/redo. I'm using loadFromJSON(...) to re-build the canvas from the canvas states I've stored in an array. Basically, my idea is to destroy the existing canvas and re-construct canvas. Here is my code. // TODO: How to…
Ganesh2
  • 156
  • 3
  • 10
7
votes
2 answers

FirstResponder missing redo:

Why my FirstResponder in InterfaceBuilder's file is missing redo: connection (in Received Actions list)? undo: exists, but redo: doesn't. How could I fix it?
hockeyman
  • 1,141
  • 6
  • 27
  • 57
1
2 3
8 9