mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
parent
3ebfaadb9b
commit
c94c240ade
|
@ -213,9 +213,10 @@ export class ViewLine implements IVisibleLine {
|
|||
const endColumn = (selection.endLineNumber === lineNumber ? selection.endColumn : lineData.maxColumn);
|
||||
|
||||
if (startColumn < endColumn) {
|
||||
if (isHighContrast(options.themeType) || this._options.renderWhitespace !== 'selection') {
|
||||
if (isHighContrast(options.themeType)) {
|
||||
actualInlineDecorations.push(new LineDecoration(startColumn, endColumn, 'inline-selected-text', InlineDecorationType.Regular));
|
||||
} else {
|
||||
}
|
||||
if (this._options.renderWhitespace === 'selection') {
|
||||
if (!selectionsOnLine) {
|
||||
selectionsOnLine = [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue