Comments (3)
What do you mean by nonlinear? And why 2 hotkeys for redo?
from shadershop.
Ctrl+Y is the classic Windows shortcut for redo (although less classic then F4), and Ctrl+Shift+Z is much better imo because it's physically related to Ctrl+Z, and easier to press with one hand.
Applications with linear history generally destroy it without telling you, if you undo and then do anything other than redo. That's the standard (history isn't considered important).
Nonlinear history means if you undo and then do something, you can still get back to where you were, because it's not two stacks of operations or states, it's a tree.
I guess the only software I know of that has it are emacs and vim (with the feature known as undo trees, or undo branches), but I've never used either program except for trying to exit them, and occasionally trying to edit text files, forgetting that nano exists. (I wish using GUI text editors over SSH was easier.)
Personally I have a lot of ideas about how undo/redo should work, for all creative/editing software. I think history should be stored along with the document, and made visible (like with history panels in some apps), and made more powerful and editable, like being able delete an operation in the middle of history and have the further actions play out on top, or to reorder operations, etc.
But anyways, just plain undo/redo would be nice.
Googling for some history on Ctrl+Shift+Z vs Ctrl+Y I found this. Man, I remember that happening, that probably lost me some work way back when. It illustrates the culmination of these two points. ␚
from shadershop.
I have since my last comment implemented non-destructive (nonlinear) undo history in my image editor JS Paint. You can get back to any state with Edit > History. And if you try to redo at the end of a branch in the history tree, it'll prompt you to open the history window.
from shadershop.
Related Issues (15)
- Crashes on defining a recursive function HOT 7
- There are 'compile' instructions but no 'run server' instructions HOT 2
- Not obvious how to delete my various test functions HOT 2
- Feature Idea: All the dimensions!
- What about audio?
- Domain Offline HOT 1
- Error: src\Actions.coffee isn't in the require path
- How to duplicate? HOT 2
- Demo redirects to spam site
- No layer deletion
- No gradation in colormap HOT 3
- Trying to re-order functions in Firefox deletes them HOT 1
- Add functions HOT 1
- License? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadershop.