Skip to content

Commit c020bd5

Browse files
GiteaBotsilverwind
andauthored
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. <img width="128" alt="Screenshot 2023-04-30 at 19 09 41" src="https://user-images.githubusercontent.com/115237/235366707-d598268d-03cc-4839-a195-c460bddae99b.png"> Co-authored-by: silverwind <me@silverwind.io>
1 parent 499257d commit c020bd5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

web_src/js/features/codeeditor.js

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const baseOptions = {
1313
overviewRulerLanes: 0,
1414
renderLineHighlight: 'all',
1515
renderLineHighlightOnlyWhenFocus: true,
16-
renderWhitespace: 'none',
1716
rulers: false,
1817
scrollbar: {horizontalScrollbarSize: 6, verticalScrollbarSize: 6},
1918
scrollBeyondLastLine: false,

0 commit comments

Comments
 (0)