[Bug] Doubts about additional cursors
qishibo opened this issue · comments
qii404 commented
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
No response
Actual (Problematic) Behavior
No response
Expected Behavior
No response
Additional Context
When I select multiple lines of text, the cursor position is correct, but an additional vertical line will be added below, just like an additional cursor. I don't know how this came about.
20240524160232.mp4
my init config like this
value: 'xxx',
theme: 'vs-dark',
language: 'json',
links: false,
readOnly: true,
cursorStyle: 'underline-thin',
lineNumbers: 'off',
lineHeight: 24,
suggestLineHeight: 24,
contextmenu: false,
// set fontsize and family to avoid cursor offset
fontSize: 14,
fontFamily: 'Monaco',
showFoldingControls: 'always',
// auto layout, performance cost
automaticLayout: true,
wordWrap: 'on',
// long text indent when wrapped
wrappingIndent: 'indent',
// cursor line highlight
renderLineHighlight: 'none',
// highlight word when cursor in
occurrencesHighlight: false,
// disable scroll one page at last line
scrollBeyondLastLine: false,
// hide scroll sign of current line
hideCursorInOverviewRuler: true,
minimap: {
enabled: false,
},
// vertical line
guides: {
indentation: false,
highlightActiveIndentation: false,
},
scrollbar: {
useShadows: false,
verticalScrollbarSize: '9px',
horizontalScrollbarSize: '9px',
}