File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function plugindef()
5
5
finaleplugin .NoStore = false
6
6
-- A true value of HandlesUndo does not prevent the automatic Undo logic in FCDocument/FCLuaIterator from saving changes,
7
7
-- but it prevents other changes that are not protected by an explicit call to StartNewUndoBlock.
8
- finaleplugin .HandlesUndo = true
8
+ finaleplugin .HandlesUndo = false
9
9
finaleplugin .Notes = [[
10
10
This script demonstrates how to process all open documents or batch process a list of files with an iterator.
11
11
The SwitchTo/SwitchBack functions automatically manage the Undo blocks per document, based on the NoStore
@@ -16,7 +16,7 @@ function plugindef()
16
16
end
17
17
18
18
local shift_amount = 144
19
- local use_iterator = true
19
+ local use_iterator = false
20
20
local use_files = false
21
21
local files = (function ()
22
22
local retval = finale .FCStrings ()
@@ -68,8 +68,6 @@ local function move_expression_baseline()
68
68
end
69
69
end
70
70
71
- finenv .StartNewUndoBlock (" Explict changes" , false )
72
-
73
71
-- this change is suppressed if either NoStore or HandlesUndo is true
74
72
-- otherwise, it creates a separate undo entry
75
73
move_expression_baseline ()
You can’t perform that action at this time.
0 commit comments