EditorRangeOrCaret
Official
Represents a range or caret in the editor
Import:
import type { EditorRangeOrCaret } from 'obsidian';Signature:
export interface EditorRangeOrCaretProperties
| Property | Type | Description | |
|---|---|---|---|
| from | EditorPosition | The start position. | |
| to? | EditorPosition | The end position. If not provided, the caret is used. |
Links to this page: