I implemented an eclipse quick fix to change a block of code.
I'm using something like this to save my changes:
TextEdit edits = rewrite.rewriteAST();
UndoEdit undo = edits.apply(document);
But when i undo my changes (CTRL+Z), i have to step through all the TextEdit actions one by one.
Is there a way to group them so the quick fix is rolled back in a single step?