code: function (node, offset) {
          var self = this, rng = self.dom.createRng();
  
          if (!node) {
            self._moveEndPoint(rng, self.editor.getBody(), true);
            self.setRng(rng);
          } else {
            rng.setStart(node, offset);
            rng.setEnd(node, offset);
            self.setRng(rng);
            self.collapse(false);
          }
        }
docs: Move the selection cursor range to the specified node and offset.
  If there is no node specified it will move it to the first suitable location within the body.
  
  @method setCursorLocation
  @param {Node} node Optional node to put the cursor in.
  @param {Number} offset Optional offset from the start of the node to put the cursor at.