void (@NotNull ASTNode node) { int length = node.getTextLength(); myDocument.deleteString(node.getStartOffset() + myOffsetDelta, node.getStartOffset() + length + myOffsetDelta); myOffsetDelta -= length; }