You can group undo's with the Avalon Editor with the two following commands:
AvalonEditor.Document.UndoStack.StartContinuedUndoGroup(); //do edit operations here AvalonEditor.Document.UndoStack.EndUndoGroup();