Skip to content

CodeMirrorEditorSelectionRange

Unofficial

A selection range with anchor and head positions for CodeMirror editor.

Import:

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

Signature:

export interface CodeMirrorEditorSelectionRange

Properties

PropertyTypeDescription
anchorEditorPositionThe anchor position of the selection.
headEditorPositionThe head position of the selection.

Links to this page: