Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve undo/redo functionality #3

Open
ctrueden opened this issue May 6, 2014 · 1 comment
Open

Improve undo/redo functionality #3

ctrueden opened this issue May 6, 2014 · 1 comment

Comments

@ctrueden
Copy link
Member

ctrueden commented May 6, 2014

A difficult problem common to many applications is that of the undo history. Ideally, we would like ImageJ to support multiple undo and redo as efficiently as possible. There are two major kinds of undoable operations:

  1. Some operations such as adding a ROI are simple to invert efficiently (just delete it). We can use a command recorder system to keep track of such workflows both backwards and forwards to allow undo and redo.
  2. Other operations such as dithering are more destructive, and ImageJ must somehow cache the prior state of the image in order to successfully undo the change.
    As such, support for a hybrid undo history supporting both types of operations may be the way to go.

Migrated-From: http://trac.imagej.net/ticket/13

@ctrueden
Copy link
Member Author

ctrueden commented May 6, 2014

See the original Trac ticket for further discussion on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant