From b414839b1f8263fa0813d151f53d60e525fed211 Mon Sep 17 00:00:00 2001 From: Ziyang LIN Date: Thu, 26 Feb 2026 16:24:01 +0100 Subject: [PATCH 1/2] Update Editor component to disable highlightSelectionMatches feature --- src/lib/components/editor/Editor.component.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/editor/Editor.component.tsx b/src/lib/components/editor/Editor.component.tsx index b59a7fd21d..544a17fbfb 100644 --- a/src/lib/components/editor/Editor.component.tsx +++ b/src/lib/components/editor/Editor.component.tsx @@ -154,6 +154,7 @@ export const Editor = ({ autocompletion: true, highlightActiveLine: true, highlightActiveLineGutter: true, + highlightSelectionMatches: false, indentOnInput: true, bracketMatching: true, closeBrackets: true, From 3b861e462fc06a2acfaf76d47d2b528201ac8df0 Mon Sep 17 00:00:00 2001 From: Ziyang LIN Date: Thu, 26 Feb 2026 16:28:58 +0100 Subject: [PATCH 2/2] Enhance editor theme styles by adding font properties for improved readability --- src/lib/components/editor/editorTheme.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/components/editor/editorTheme.ts b/src/lib/components/editor/editorTheme.ts index b526f5b485..7200f50a7f 100644 --- a/src/lib/components/editor/editorTheme.ts +++ b/src/lib/components/editor/editorTheme.ts @@ -46,11 +46,12 @@ export function createEditorTheme(theme: CoreUITheme): Extension { '&': { backgroundColor: theme.backgroundLevel1, color: theme.textPrimary, + fontFamily: "'Courier New', monospace", + fontSize: '12px', + lineHeight: '1.6', }, '.cm-content': { caretColor: theme.textPrimary, - fontFamily: "'Courier New', monospace", - fontSize: '12px', }, '.cm-cursor, .cm-dropCursor': { borderLeftColor: theme.textPrimary,