@Override
  public void doOKAction() {
    XExpression expression = getExpression();
    myInplaceEditor.saveTextInHistory();
    super.doOKAction();
    if (!XDebuggerUtilImpl.isEmptyExpression(expression)) {
      XDebuggerWatchesManager watchesManager = ((XDebuggerManagerImpl)XDebuggerManager.getInstance(mySession.getProject())).getWatchesManager();
      watchesManager.addInlineWatchExpression(expression, -1, myPresentationPosition, false);
    }
  }
@Override
  public void doOKAction()