Files
photocraft/docs
David MannandClaude Opus 5.5 fce9f00414 History: History Options with Allow Non-Linear History and undoable visibility changes (#2966)
History panel menu > History Options... in Photoshop has five options; this lands the two that
don't need snapshots, as preferences (`historyOptions.*`, `prefs.set`, reported by `ui.inspect`
under session.historyOptions) plus the dialog and a `history.options` command.

- Allow Non-Linear History (default off): an edit after stepping back keeps the later states and
  is appended at the end (ops::History::non_linear); History panel Delete then removes only that
  state (History::remove / drop_current), the later ones stay.
- Make Layer Visibility Changes Undoable (default on, as in Photoshop and PhotoCraft today): when
  off, the eye, Alt-click (Show Only), Hide/Show Layers change the document without a history
  state (Session::edit_visibility), leaving redo states alone.
- history.options: with params sets them (validated, unknown keys and non-bools are errors);
  without params the GUI opens the History Options dialog (checkboxes, OK/Cancel).
- New strings translated in all 16 catalogs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-11 18:03:42 +02:00
..
…
…
…