MCPcopy Index your code
hub / github.com/Exafunction/codeium-chrome / TextAndOffsets

Interface TextAndOffsets

src/notebook.ts:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { Language } from '../proto/exa/codeium_common_pb/codeium_common_pb';
3
4export interface TextAndOffsets {
5 // The smart concatenation of all notebook cells, or just the text of the main document.
6 text: string;
7 // The offset into the current cell/document.
8 utf8ByteOffset: number;
9 // Any additional offset induced by the smart concatenation.
10 additionalUtf8ByteOffset: number;
11}
12
13const NOTEBOOK_LANGUAGES = {
14 [Language.PYTHON]: 'python',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected