From 73e70f3c44108a8f581b3a18fcbc45a8d693e8b8 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 2 May 2023 16:58:11 -0400 Subject: [PATCH] Enable whitespace rendering on selection in Monaco (#24444) (#24485) Backport #24444 by @silverwind 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: silverwind --- 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 23a26ba2b0..c6d55908f3 100644 --- a/web_src/js/features/codeeditor.js +++ b/web_src/js/features/codeeditor.js @@ -13,7 +13,6 @@ const baseOptions = { overviewRulerLanes: 0, renderLineHighlight: 'all', renderLineHighlightOnlyWhenFocus: true, - renderWhitespace: 'none', rulers: false, scrollbar: {horizontalScrollbarSize: 6, verticalScrollbarSize: 6}, scrollBeyondLastLine: false,