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

Method createEditor

static/panes/gnatdebug-view.ts:51–61  ·  view source on GitHub ↗
(editorRoot: HTMLElement)

Source from the content-addressed store, hash-verified

49 }
50
51 override createEditor(editorRoot: HTMLElement): void {
52 this.editor = monaco.editor.create(
53 editorRoot,
54 extendConfig({
55 language: 'ada',
56 readOnly: true,
57 glyphMargin: true,
58 lineNumbersMinChars: 3,
59 }),
60 );
61 }
62
63 override getPrintName() {
64 return 'GNAT Debug Output';

Callers

nothing calls this directly

Calls 2

extendConfigFunction · 0.85
createMethod · 0.80

Tested by

no test coverage detected