MCPcopy
hub / github.com/NitroRCr/AIaW / doHighlight

Function doHighlight

src/utils/codejar.ts:70–72  ·  view source on GitHub ↗
(editor: HTMLElement, pos?: Position)

Source from the content-addressed store, hash-verified

68 editor.style.whiteSpace = 'pre-wrap'
69
70 const doHighlight = (editor: HTMLElement, pos?: Position) => {
71 highlight(editor, pos)
72 }
73
74 const matchFirefoxVersion =
75 window.navigator.userAgent.match(/Firefox\/([0-9]+)\./)

Callers 4

CodeJarFunction · 0.85
handlePasteFunction · 0.85
handleCutFunction · 0.85
updateCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected