void () { TextRange highlightingRange = myDetector.getHighlightingRange(getStableChange()); Document document = myEditor.getDocument(); String initialSignature = myInitialSignature; detach(); temporallyRevertChanges(highlightingRange, document, initialSignature, myProject); }