Skip to content

Cm5LineInfo

Unofficial

Information about a line in a CodeMirror 5 editor.

Import:

import type { Cm5LineInfo } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface Cm5LineInfo

Properties

PropertyTypeDescription
bgClassstringThe background CSS class.
gutterMarkersunknownObject mapping gutter IDs to marker elements.
handleCm5LineHandleThe line handle.
linenumberThe line number.
textstringThe text content of the line.
textClassstringThe text CSS class.
widgetsunknownArray of line widgets attached to this line.
wrapClassstringThe wrapper CSS class.

Links to this page: