createWithNewRange (startOffset, endOffset) {
    var sel = new PropertySelection(this.path, startOffset, endOffset, false, this.containerPath, this.surfaceId)
    var doc = this._internal.doc
    if (doc) {
      sel.attach(doc)
    }
    return sel
  }
Creates a new selection with given range and same path.

@param {Number} startOffset
@param {Number} endOffset
@returns {Selection} a new selection