MCPcopy Index your code
hub / github.com/midrender/revideo / lines

Function lines

packages/2d/src/lib/code/CodeRange.ts:30–35  ·  view source on GitHub ↗
(from: number, to?: number)

Source from the content-addressed store, hash-verified

28 * cover only one line.
29 */
30export function lines(from: number, to?: number): CodeRange {
31 return [
32 [from, 0],
33 [to ?? from, Infinity],
34 ];
35}
36
37/**
38 * Create a code range that highlights the given word.

Callers 1

CodeClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected