MCPcopy
hub / github.com/witheve/Eve / lastLine

Method lastLine

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

Get the last line of the editor. This will usually be lineCount() - 1, but for linked sub-views, it might return other values.

()

Source from the content-addressed store, hash-verified

461
462 /** Get the last line of the editor. This will usually be lineCount() - 1, but for linked sub-views, it might return other values. */
463 lastLine(): number;
464
465 /** Fetches the line handle for the given line number. */
466 getLineHandle(num: number): CodeMirror.LineHandle;

Callers 15

visibleLinesFunction · 0.80
extendToFunction · 0.80
makeChangeSingleDocFunction · 0.80
codemirror.jsFile · 0.80
findSharedMarkersFunction · 0.80
visualLineEndNoFunction · 0.80
byParagraphFunction · 0.80
bySentenceFunction · 0.80
isLineFunction · 0.80
VimFunction · 0.80
clipCursorToContentFunction · 0.80
makeCmSelectionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected