From 00b2664fed170ddfc2b0b52b167d0b8f9e3ebd00 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 10 Feb 2022 06:19:52 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- Viewer/features/core.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Viewer/features/core.js b/Viewer/features/core.js index 5841336b..f48e38d0 100755 --- a/Viewer/features/core.js +++ b/Viewer/features/core.js @@ -2100,9 +2100,10 @@ var JournalActions = actions.Actions({ // XXX will also need to handle other methods + aliases in chain... // XXX EXPERIMENTAL... undo: ['Edit/Undo', - doc`Undo last action from .journal that can be undone + doc`Undo last action(s) from .journal that can be undone .undo() + .undo() This will shift the action from .journal to .rjournal preparing it for .redo() @@ -2121,7 +2122,7 @@ var JournalActions = actions.Actions({ this.rjournal || [] : [] - // XXX add test for save point... + // XXX add test for save point -- 'unsaved' keyword... // XXX this counts undoable actions only -- is this correct... while(count-- > 0 && journal.length > 1){