@Override
  public boolean setCaretVisible(boolean b) {
    return ReadAction.compute(() -> {
      boolean old = myCaretCursor.isActive();
      if (b) {
        myCaretCursor.activate();
      }
      else {
        myCaretCursor.passivate();
      }
      return old;
    });
  }
@Override
  public boolean setCaretVisible(boolean b)