MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / highlightDecorations

Function highlightDecorations

graph-ui/src/reader/step-badges.ts:132–146  ·  view source on GitHub ↗
(line: number | undefined)

Source from the content-addressed store, hash-verified

130 * bleibt.
131 */
132export function highlightDecorations(line: number | undefined): LineDecoration[] {
133 if (line === undefined || line < 1) {
134 return [];
135 }
136 return [
137 {
138 range: { startLineNumber: line, startColumn: 1, endLineNumber: line, endColumn: 1 },
139 options: {
140 className: STEP_LINE_HIGHLIGHT_CLASS,
141 isWholeLine: true,
142 stickiness: NEVER_GROWS_WHEN_TYPING_AT_EDGES,
143 },
144 },
145 ];
146}

Callers 2

MonacoReaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected