void (@NotNull DocumentEvent e) { myDocumentChangeInProgress = true; if (isStickySelection()) { setStickySelection(false); } if (myDocument.isInBulkUpdate()) { // Assuming that the job is done at bulk listener callback methods. return; } saveCaretRelativePosition(); // We assume that size container is already notified with the visual line widths during soft wraps processing if (!mySoftWrapModel.isSoftWrappingEnabled() && !myUseNewRendering) { mySizeContainer.beforeChange(e); } }