MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / createEditor

Method createEditor

static/panes/diff.ts:400–407  ·  view source on GitHub ↗
(editorRoot: HTMLElement)

Source from the content-addressed store, hash-verified

398 }
399
400 override createEditor(editorRoot: HTMLElement) {
401 this.editor = monaco.editor.createDiffEditor(editorRoot, {
402 fontFamily: this.settings.editorsFFont,
403 fontLigatures: this.settings.editorsFLigatures,
404 scrollBeyondLastLine: true,
405 readOnly: true,
406 });
407 }
408
409 override getPrintName() {
410 return '<Unimplemented>';

Callers 1

registerButtonsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected