Skip to content

Position

Unofficial

A position in a CodeMirror 5 document.

Import:

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

Signature:

export interface Position

Properties

PropertyTypeDescription
chnumberCharacter position within the line.
linenumberLine number (zero-based).
sticky?stringThe sticky direction for cursor placement.

Links to this page: