MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / createLineSelection

Function createLineSelection

src/cm/lineNumberSelection.ts:62–67  ·  view source on GitHub ↗
(range: {
	from: number;
	to: number;
})

Source from the content-addressed store, hash-verified

60}
61
62function createLineSelection(range: {
63 from: number;
64 to: number;
65}): EditorSelection {
66 return EditorSelection.single(range.to, range.from);
67}
68
69function createExtendedLineSelection(
70 state: EditorView["state"],

Callers 1

handleLineNumberClickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected