CodeMirrorEditor.getLineNumber method
CodeMirrorEditor › getLineNumber
Unofficial
Get the line number from a line handle, ornull if the handle is invalid. Signature:
getLineNumber(handle: LineHandle): null | numberParameters:
| Parameter | Type | Description |
|---|---|---|
| handle | LineHandle | The line handle to get the number for. |
Returns: null | number — The line number, or null if the handle is invalid.