From 1f52560ca466a780638543d4cd3513f892bf7522 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 2 May 2023 15:31:38 +0200 Subject: [PATCH] Enable whitespace rendering on selection in Monaco (#24444) Remove the [renderWhitespace](https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOptions.html#renderWhitespace) override, so the default value of `selection` takes over and makes whitespace visible on selection. Screenshot 2023-04-30 at 19 09 41 Co-authored-by: Giteabot --- web_src/js/features/codeeditor.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web_src/js/features/codeeditor.js b/web_src/js/features/codeeditor.js index f003933262..3b01b93a80 100644 --- a/web_src/js/features/codeeditor.js +++ b/web_src/js/features/codeeditor.js @@ -14,7 +14,6 @@ const baseOptions = { overviewRulerLanes: 0, renderLineHighlight: 'all', renderLineHighlightOnlyWhenFocus: true, - renderWhitespace: 'none', rulers: false, scrollbar: {horizontalScrollbarSize: 6, verticalScrollbarSize: 6}, scrollBeyondLastLine: false,