Suggestion: Make 'undo' after 'add bibliography' more user friendly

If a bibliography is inadvertently inserted into a Word document, it is somewhat cumbersome to undo this because there are lots of undo steps involved.

Word has "UndoRecords" that can be used to bundle an add-in's actions in a document, and I believe the Zotero integration add-in should make use of this.

I'd have issued a Pull Request myself, but I'm not so familiar with COM add-ins.

In C#/VSTO, the code that inserts stuff into a Word document can be wrapped by "Application.UndoRecord.StartCustomRecord(string)" and "Application.UndoRecord.EndCustomRecord()", where the string parameter is the name of the action that is shown in the Undo menu (e.g., "Insert Zotero bibliography").
Sign In or Register to comment.