MCPcopy Index your code
hub / github.com/anomalyco/opencode / select

Function select

packages/session-ui/src/components/file.tsx:431–436  ·  view source on GitHub ↗
(range: SelectedLineRange | null)

Source from the content-addressed store, hash-verified

429 onLineNumberSelectionEnd?: (selection: SelectedLineRange | null) => void
430}) {
431 const select = (range: SelectedLineRange | null) => {
432 if (!opts.normalize) return range
433 const next = opts.normalize(range)
434 if (next !== undefined) return next
435 return range
436 }
437
438 return {
439 onLineSelected: (range: SelectedLineRange | null) => {

Callers 1

createLineCallbacksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected