Skip to content

EditorPosition

Official

Represents a position in the editor

Import:

import type { EditorPosition } from 'obsidian';

Signature:

export interface EditorPosition

Properties

Property Type Description
ch number The character index (0-based).
line number The line number (0-based).

Links to this page: