@ApiStatus.Internal
  public void documentChanged(DocumentEvent event, boolean processAlsoLineEnd) {
    LOG.assertTrue(myDocumentChangedEvent != null);
    recalculate(myDocumentChangedEvent);
    if (processAlsoLineEnd) {
      int lineEndOffset = DocumentUtil.getLineEndOffset(myDocumentChangedEvent.getMandatoryEndOffset(), event.getDocument());
      if (lineEndOffset > myDocumentChangedEvent.getActualEndOffset()) {
        recalculate(new IncrementalCacheUpdateEvent(lineEndOffset, lineEndOffset, myEditor));
      }
    }
    myDocumentChangedEvent = null;
  }
@ApiStatus.Internal
  public void documentChanged(DocumentEvent event, boolean processAlsoLineEnd)