endCompoundChange
100101102103104105106107108109110
if (edit == null) { return; } try { IDocumentUndoManager manager = getDocumentUndoManager(document); manager.beginCompoundChange(); edit.apply(document); manager.endCompoundChange(); } catch (Throwable t) { throw new CoreException(error(t)); }