MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / pos

Function pos

packages/core/src/widgets/__tests__/codeEditor.scroll.test.ts:5–7  ·  view source on GitHub ↗
(line: number, column: number)

Source from the content-addressed store, hash-verified

3import type { CursorPosition } from "../types.js";
4
5function pos(line: number, column: number): CursorPosition {
6 return { line, column };
7}
8
9describe("codeEditor.scroll - cursor follow and clamping", () => {
10 const visibilityCases = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected