Skip to content

Doc.setLine method

Doc › setLine

Unofficial

Set the content of a given line.

Signature:

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

Parameters:

ParameterTypeDescription
nnumberThe line number.
textstringThe new text.

Returns: void