void (@NotNull final DocumentEvent e) { final Document document = e.getDocument(); Collection<XLineBreakpointImpl> breakpoints = getDocumentBreakpoints(document); if (!breakpoints.isEmpty()) { myBreakpointsUpdateQueue.queue(new Update(document) { @Override public void run() { ApplicationManager.getApplication().invokeLater(() -> { updateBreakpoints(document); }); } }); if (XDebuggerUtil.areInlineBreakpointsEnabled()) { var file = FileDocumentManager.getInstance().getFile(document); if (file != null) { var inlineInlaysManager = getInlineBreakpointInlayManager(); var firstLine = document.getLineNumber(e.getOffset()); var lastLine = document.getLineNumber(e.getOffset() + e.getNewLength()); inlineInlaysManager.redrawLineQueued(document, firstLine); if (lastLine != firstLine) { inlineInlaysManager.redrawLineQueued(document, lastLine); } } } } }