Since currently every section is inserted with a separate editor.insertText() call (and __insertComment() does multiple modifications), undoing the action requires multiple Ctrl-Z's and exposes implementation details.
undo: "skip" may be useful (link).
Since currently every section is inserted with a separate
editor.insertText()call (and__insertComment()does multiple modifications), undoing the action requires multiple Ctrl-Z's and exposes implementation details.undo: "skip"may be useful (link).