@SuppressWarnings("UnusedReturnValue")
  @RequiresEdt
  private boolean setupEditorSwingCaretUpdatesCourierIfRequired() {
    if ((myEditorSwingCaretUpdatesCourier != null) || (editor == null) || (editor.isDisposed()) ) {
      return false;
    }

    if (ArrayUtil.isEmpty(getCaretListeners())) {
      return false;
    }

    myEditorSwingCaretUpdatesCourier = EditorSwingCaretUpdatesCourier.create(this);

    return true;
  }
@SuppressWarnings("UnusedReturnValue")
  @RequiresEdt
  private boolean setupEditorSwingCaretUpdatesCourierIfRequired()