Skip to content

Cm5EditorSelectionChange

Unofficial

A selection change event object in CodeMirror 5.

Import:

import type { Cm5EditorSelectionChange } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface Cm5EditorSelectionChange

Properties

PropertyTypeDescription
origin?stringThe origin of the selection change.
rangesCm5Range[]The new selection ranges.

Methods

MethodReturnsDescription
update(ranges)voidModifies the ranges for this selection change.