Closed dw130 closed 1 month ago
No response
const editorContainer = monaco.editor.createDiffEditor(ref, { value: "", language: "txt", theme: "customLightTheme", editorOptions: { selectOnLineNumbers: true, roundedSelection: false, }, readOnly: true, diffCodeLens: true, fontFamily: 'Noto Sans Mono CJK SC, monospace', //enableSplitViewResizing: true, renderSideBySide: true, fontSize: 14, scrollbar: { vertical: 'visible', horizontal: 'visible' }, })
1 use renderSideBySide: true
2 new text delete the "test_" charactors
3 but "test_" foreground color is not high light,color is the same as background
expect color high light
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
const editorContainer = monaco.editor.createDiffEditor(ref, { value: "", language: "txt", theme: "customLightTheme", editorOptions: { selectOnLineNumbers: true, roundedSelection: false, }, readOnly: true, diffCodeLens: true, fontFamily: 'Noto Sans Mono CJK SC, monospace', //enableSplitViewResizing: true, renderSideBySide: true, fontSize: 14, scrollbar: { vertical: 'visible', horizontal: 'visible' }, })
1 use renderSideBySide: true
2 new text delete the "test_" charactors
3 but "test_" foreground color is not high light,color is the same as background
expect color high light
Actual (Problematic) Behavior
No response
Expected Behavior
No response
Additional Context
No response