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

Property Type Description
anchor EditorPosition The anchor position of the selection.
head EditorPosition The head position of the selection.

Links to this page: