EditorView.coordsForChar method
EditorView › coordsForChar
Official
Return the rectangle around a given character.Signature:
coordsForChar(pos: number): null | RectParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | number | The document position. |
EditorView › coordsForChar
Official
Return the rectangle around a given character.Signature:
coordsForChar(pos: number): null | RectParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | number | The document position. |