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

Method createEditor

static/panes/tool.ts:121–138  ·  view source on GitHub ↗
(editorRoot: HTMLElement)

Source from the content-addressed store, hash-verified

119 }
120
121 override createEditor(editorRoot: HTMLElement) {
122 this.editor = monaco.editor.create(
123 editorRoot,
124 monacoConfig.extendConfig({
125 readOnly: true,
126 language: 'text',
127 fontFamily: 'courier new',
128 lineNumbersMinChars: 5,
129 guides: {
130 bracketPairs: false,
131 bracketPairsHorizontal: false,
132 highlightActiveBracketPair: false,
133 highlightActiveIndentation: false,
134 indentation: false,
135 },
136 }),
137 );
138 }
139
140 override getPrintName() {
141 return 'Tool Output';

Callers

nothing calls this directly

Calls 1

createMethod · 0.80

Tested by

no test coverage detected