node_modules/y-codemirror/dist/demo.js
/**
     * Only call this if you know that this.right is defined
     */
Only call this if you know that this.right is defined
Only call this if you know that this . right is defined
forward () {
      if (this.right === null) {
        unexpectedCase();
      }
      switch (this.right.content.constructor) {
        case ContentEmbed:
        case ContentString:
          if (!this.right.deleted) {
            this.index += this.right.length;
          }
          break
        case ContentFormat:
          if (!this.right.deleted) {
            updateCurrentAttributes(this.currentAttributes,  (this.right.content));
          }
          break
      }
      this.left = this.right;
      this.right = this.right.right;
    }
forward ( ) { if ( this . right === null ) { unexpectedCase ( ) ; } switch ( this . right . content . constructor ) { case ContentEmbed : case ContentString : if ( ! this . right . deleted ) { this . index += this . right . length ; } break case ContentFormat : if ( ! this . right . deleted ) { updateCurrentAttributes ( this . currentAttributes , ( this . right . content ) ) ; } break } this . left = this . right ; this . right = this . right . right ; }
Only call this if you know that this.right is defined
Only call this if you know that this . right is defined
/** @type {ContentFormat} */