Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 553 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 553 Bytes

Batch Edit Macros

Contributions to editing macros are welcomed.

An batch edit should:

  • Starts with docManager.StartUndoGroup();
  • Performs modifications by calling docManager.ExecuteCmd(); with commands.
    • Some commands come with a single note variation and a multiple notes variation, e.g., AddNoteCommand(UVoicePart part, UNote note) and AddNoteCommand(UVoicePart part, List<UNote> notes). Use the multiple notes varitaion for batch edits.
  • Ends with docManager.EndUndoGroup();
  • Has a localized name.