Skip to content

EditorView.lineBlockAt method

EditorView › lineBlockAt

Official

Find the line block around the given document position.

Signature:

lineBlockAt(pos: number): BlockInfo

Parameters:

Parameter Type Description
pos number The document position.

Returns: BlockInfoThe block info.