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.
undo
868
questions
0
votes
0
answers
24
views
WP - How do I undo "Restore this Revision" action
I accidentally clicked "Restore this Revision" button while checking the 4-year old version of main page of WordPress website. Before that, the latest version I had was from 2 months ago (...
2
votes
1
answer
47
views
VBA: column width adjustment sub causing "undo" of Excel to malfunction
could someone please comment on the following issue?
I have a sub that adjusts the column width to the text width using "AutoFit", except for column J which should have a fixed width of 80. ...
0
votes
1
answer
208
views
Undo logs are not truncating even the parameter is set to ON
we have configured the below settings in our configuration file.
--innodb_file_per_table=1
--innodb_undo_tablespaces=3
--innodb_undo_directory=/var/lib/mysql/
--innodb_undo_log_truncate=ON
--...
-2
votes
1
answer
42
views
how to remove a renamed file from last git commit? [duplicate]
I know how to
Remove files from last git commit
Remove a file change from a git commit
but what I want is to exclude the renamed file from last git commit, but retain anything else (as git mv get ...
0
votes
1
answer
228
views
Git undo force push to remote branch
I need to undo a force push to a remote branch, or apply the previous changes that were merged to the remote branch before the force push from my local.
This is a release branch. The origin release ...
0
votes
1
answer
101
views
Override browser "undo" key command in Javascript?
I'm creating an application with undo/redo functionality, and would like to utilize keyboard shortcut functionality to trigger this behavior, e.g. cmd+Z
Per the MDN documentation, it appears possible ...
1
vote
1
answer
66
views
Issues with implementing an undo feature with stacks in Java
I am relatively new to Java programming. I am trying to make an application that acts a budget calculator and I wanted to implement an undo feature where I could perform multiple undos in a row to ...
0
votes
0
answers
68
views
In Neovim, can I undo a lua function call that wrote to 2 different buffers at once with a single :undo command?
I wrote this lua function to manipulate "todo.txt" files. It is supposed to do the following:
Mark the task from the current line as "done" (i.e. prepend it with "x " ...
0
votes
0
answers
65
views
I tried editor.trigger('myapp','undo') but it's not working as expected
I tried the below code for undo operation, but it's not working as i expected
editor.trigger('whatever...','undo');
This line is reverting the changes but word by word.
For Example: I have added the ...
0
votes
0
answers
31
views
Add undo to a SortableJS list with nested list(s)
I have a single HTML list which may contain zero or more nested lists.
A nested list is never be more than one level down ie nested lists cannot contain itself nest a list.
Users can add/remove nested ...
0
votes
1
answer
41
views
Multiple Originators in Memento
I have been given code for a game. My assignment is now have button to save the state of this game and to restore it this saved state. In the code there is a Game Window and there is a Game Engine (...
0
votes
0
answers
85
views
Control-Z and Control-Y not working in CustomTkinter TextBox
I am using CustomTkinter to make my own application.
I have created a textbox in the program.
It lets me to copy and paste but not to redo or undo.
I have tried solutions online but they are for ...
0
votes
0
answers
69
views
Implementing undo in a state-machine based application
I have an application whose core design is based on a state machine that uses one-way transitions.
This design works well for most scenarios and required features; however the application requires an ...
1
vote
1
answer
142
views
with excel vba code, how can return the cell it's previous state when deleting seleted option in the cell?
I have a simple concern about returning cell to its previous state (normally cell is including data validation list generated with DATA>DATA VALIDATION section) for a range of cells.
I have a macro ...
0
votes
0
answers
102
views
Rollback in Flyway
I rolled back the current version and found status of that version has "Pending". If I use flyway migrate again, the rolled back version is executing and status changing to "Success&...