Cm5EditorSelectionChange
Unofficial
A selection change event object in CodeMirror 5.
Import:
import type { Cm5EditorSelectionChange } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface Cm5EditorSelectionChangeProperties
| Property | Type | Description | |
|---|---|---|---|
| origin? | string | The origin of the selection change. | |
| ranges | Cm5Range[] | The new selection ranges. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| update(ranges) | void | Modifies the ranges for this selection change. |