get startOffset() {
    // It is possible that the start cursor points to content before this line
    // (e.g. in a multi-line selection).
    try {
      return this.value_.getSpanStart(this.start_) + this.start_.index;
    } catch (e) {
      // When that happens, fall back to the start of this line.
      return 0;
    }
  }
/**
   * Gets the selection offset based on the text content of this line.
   * @return {number}
   */
Gets the selection offset based on the text content of this line.
@return {number}
Gets the selection offset based on the text content of this line . @return { number }
get startOffset() {
    try {
      return this.value_.getSpanStart(this.start_) + this.start_.index;
    } catch (e) {
      return 0;
    }
  }
get startOffset ( ) { try { return this . value_ . getSpanStart ( this . start_ ) + this . start_ . index ; } catch ( e ) { return 0 ; } }
Gets the selection offset based on the text content of this line.
Gets the selection offset based on the text content of this line .
// It is possible that the start cursor points to content before this line // (e.g. in a multi-line selection). // When that happens, fall back to the start of this line.