Skip to content

EditorPosition

Official

Represents a position in the editor

Import:

import type { EditorPosition } from 'obsidian';

Signature:

export interface EditorPosition

Properties

PropertyTypeDescription
chnumberThe character index (0-based).
linenumberThe line number (0-based).

Links to this page: