Cm5Editor.addLineClass method
Cm5Editor › addLineClass
Unofficial
Set a CSS class name for the given line.Signature:
addLineClass(line: number | Cm5LineHandle, where: string, className: string): Cm5LineHandleParameters:
| Parameter | Type | Description |
|---|---|---|
| line | number | Cm5LineHandle | The line number or handle. |
| where | string | Which element to apply the class to ("text", "background", or "wrap"). |
| className | string | The CSS class name. |
Returns: Cm5LineHandle — The line handle.