MCPcopy
hub / github.com/antonmedv/codejar / doHighlight

Function doHighlight

codejar.ts:67–69  ·  view source on GitHub ↗
(editor: HTMLElement, pos?: Position)

Source from the content-addressed store, hash-verified

65 editor.style.whiteSpace = 'pre-wrap'
66
67 const doHighlight = (editor: HTMLElement, pos?: Position) => {
68 highlight(editor, pos)
69 }
70
71 const matchFirefoxVersion =
72 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