EditorView.lineBlockAt method
EditorView › lineBlockAt
Official
Find the line block around the given document position.Signature:
lineBlockAt(pos: number): BlockInfoParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | number | The document position. |
Returns: BlockInfo — The block info.