lineAt(pos, bias = 1) {
        let line = this.state.doc.lineAt(pos);
        let { simulateBreak } = this.options;
        if (simulateBreak != null && simulateBreak >= line.from && simulateBreak <= line.to) {
            if (bias < 0 ? simulateBreak < pos : simulateBreak <= pos)
                return { text: line.text.slice(simulateBreak - line.from), from: simulateBreak };
            else
                return { text: line.text.slice(0, simulateBreak - line.from), from: line.from };
        }
        return line;
    }
/**
    Get a description of the line at the given position, taking
    [simulated line
    breaks](https://codemirror.net/6/docs/ref/#language.IndentContext.constructor^options.simulateBreak)
    into account. If there is such a break at `pos`, the `bias`
    argument determines whether the part of the line line before or
    after the break is used.
    */
Get a description of the line at the given position, taking
[simulated line
breaks]
into account. If there is such a break at `pos`, the `bias`
argument determines whether the part of the line line before or
after the break is used.
Get a description of the line at the given position taking [ simulated line breaks ] into account . If there is such a break at ` pos ` the ` bias ` argument determines whether the part of the line line before or after the break is used .
lineAt(pos, bias = 1) {
        let line = this.state.doc.lineAt(pos);
        let { simulateBreak } = this.options;
        if (simulateBreak != null && simulateBreak >= line.from && simulateBreak <= line.to) {
            if (bias < 0 ? simulateBreak < pos : simulateBreak <= pos)
                return { text: line.text.slice(simulateBreak - line.from), from: simulateBreak };
            else
                return { text: line.text.slice(0, simulateBreak - line.from), from: line.from };
        }
        return line;
    }
lineAt ( pos , bias = 1 ) { let line = this . state . doc . lineAt ( pos ) ; let { simulateBreak } = this . options ; if ( simulateBreak != null && simulateBreak >= line . from && simulateBreak <= line . to ) { if ( bias < 0 ? simulateBreak < pos : simulateBreak <= pos ) return { text : line . text . slice ( simulateBreak - line . from ) , from : simulateBreak } ; else return { text : line . text . slice ( 0 , simulateBreak - line . from ) , from : line . from } ; } return line ; }
Get a description of the line at the given position, taking
[simulated line
breaks](https://codemirror.net/6/docs/ref/#language.IndentContext.constructor^options.simulateBreak)
into account.
Get a description of the line at the given position taking [ simulated line breaks ] ( https : // codemirror . net / 6 / docs / ref / #language . IndentContext . constructor^options . simulateBreak ) into account .