protected void expandAllFolds(EditorOperator editor) {
    // hit CTRL Shift +
    JEditorPaneOperator txtOper = editor.txtEditorPane();
    txtOper.pushKey(KeyEvent.VK_ADD, KeyEvent.CTRL_DOWN_MASK | KeyEvent.SHIFT_DOWN_MASK);

    // wait a while
    try {
      Thread.currentThread().sleep(COLLAPSE_EXPAND_DELAY);
    } catch (InterruptedException ex) {
    }
  }
  protected void expandFoldAtCaretPosition(EditorOperator editor, int line, int column) {
    // 1. move to adequate place
    editor.setCaretPosition(line, column);

    // 2. hit CTRL +
    JEditorPaneOperator txtOper = editor.txtEditorPane();
    txtOper.pushKey(KeyEvent.VK_ADD, KeyEvent.CTRL_DOWN_MASK);

    JTextComponentOperator text = new JTextComponentOperator(editor);
    JTextComponent target = (JTextComponent) text.getSource();

    // give max 500 milis to fold to expand
    waitMaxMilisForValue(500, getResolver(target), Boolean.FALSE);
  }