Skip to content

ChangeByRangeResult

Unofficial

Result returned by the callback passed to @codemirror/state#EditorState.changeByRange.

Import:

import type { ChangeByRangeResult } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ChangeByRangeResult

Properties

Property Type Description
changes? ChangeSpec The updated changes.
effects? readonly StateEffect<unknown>[] | StateEffect<unknown> The updated effects.
range SelectionRange The updated range.