@Override
  public void beforeDocumentChange(@NotNull DocumentEvent event) {
    myDocumentChangeOldEndLine = getAdjustedLineNumber(event.getOffset() + event.getOldLength());
  }
@Override
  public void beforeDocumentChange(@NotNull DocumentEvent event)