mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-25 20:26:38 +00:00
removed unused code.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
ada0f4c7ed
commit
fc866464ad
@ -17,9 +17,7 @@ export class EditorManager extends TheiaEditorManager {
|
|||||||
const { editor } = widget;
|
const { editor } = widget;
|
||||||
if (editor instanceof MonacoEditor) {
|
if (editor instanceof MonacoEditor) {
|
||||||
const codeEditor = editor.getControl();
|
const codeEditor = editor.getControl();
|
||||||
const lineNumbersMinChars = 2;
|
codeEditor.updateOptions({ readOnly });
|
||||||
const overviewRulerLanes = 0;
|
|
||||||
codeEditor.updateOptions({ readOnly, lineNumbersMinChars, overviewRulerLanes });
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return widget;
|
return widget;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user