lineAt
Returns a text line denoted by the line number. Note that the returned object is not live and changes to the document are not reflected.
Parameters
line
A line number in [0, lineCount)
.
Returns a text line denoted by the position. Note that the returned object is not live and changes to the document are not reflected.
The position will be adjusted.
Parameters
position
A position.