code: function (node, content) {
          var self = this, dom = self.dom, rng = dom.createRng(), idx;
  
          // Clear stored range set by FocusManager
          self.lastFocusBookmark = null;
  
          if (node) {
            if (!content && self.controlSelection.controlSelect(node)) {
              return;
            }
  
            idx = dom.nodeIndex(node);
            rng.setStart(node.parentNode, idx);
            rng.setEnd(node.parentNode, idx + 1);
  
            // Find first/last text node or BR element
            if (content) {
              self._moveEndPoint(rng, node, true);
              self._moveEndPoint(rng, node);
            }
  
            self.setRng(rng);
          }
  
          return node;
        }
docs: Selects the specified element. This will place the start and end of the selection range around the element.
  
  @method select
  @param {Element} node HTML DOM element to select.
  @param {Boolean} content Optional bool state if the contents should be selected or not on non IE browser.
  @return {Element} Selected element the same element as the one that got passed in.
  @example
  // Select the first paragraph in the active editor
  tinymce.activeEditor.selection.select(tinymce.activeEditor.dom.select('p')[0]);