MCPcopy Create free account
hub / github.com/witheve/Eve / heightAtLine

Method heightAtLine

typings/codemirror/codemirror.d.ts:266–266  ·  view source on GitHub ↗

Computes the height of the top of a line, in the coordinate system specified by mode (see coordsChar), which defaults to "page". When a line below the bottom of the document is specified, the returned value is the bottom of the last line in the document.

(line: number|LineHandle, mode?: string)

Source from the content-addressed store, hash-verified

264
265 /** Computes the height of the top of a line, in the coordinate system specified by mode (see coordsChar), which defaults to "page". When a line below the bottom of the document is specified, the returned value is the bottom of the last line in the document. */
266 heightAtLine(line: number|LineHandle, mode?: string): number;
267
268 /** Returns the line height of the default font for the editor. */
269 defaultTextHeight(): number;

Callers 1

getYFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected