i'm trying to write a VS extension to solve this thing and somehow exclude the outlining from undo/redo stack.
is there a way to intercept the insertion of a new undo item? i mean stop it before it is being added?
if not - can i get the list of undo items and edit it to remove those 'collapse' items?