Skip to content

Doc.setLine method

Doc › setLine

Unofficial

Set the content of a given line.

Signature:

setLine(n: number, text: string): void

Parameters:

Parameter Type Description
n number The line number.
text string The new text.

Returns: void