mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-24 11:46:32 +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;
|
||||
if (editor instanceof MonacoEditor) {
|
||||
const codeEditor = editor.getControl();
|
||||
const lineNumbersMinChars = 2;
|
||||
const overviewRulerLanes = 0;
|
||||
codeEditor.updateOptions({ readOnly, lineNumbersMinChars, overviewRulerLanes });
|
||||
codeEditor.updateOptions({ readOnly });
|
||||
}
|
||||
}
|
||||
return widget;
|
||||
|
Loading…
x
Reference in New Issue
Block a user