void (@NotNull DocumentEvent event) { myDuringDocumentUpdate = false; if (myDocument.isInBulkUpdate()) return; doInvalidateRange(myDocumentChangeStartOffset, myDocumentChangeEndOffset); if (myAfterLineEndInlayUpdated) { int lineEndOffset = DocumentUtil.getLineEndOffset(myDocumentChangeEndOffset, myDocument); doInvalidateRange(lineEndOffset, lineEndOffset); } assertValidState(); }