mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:04:14 +08:00
Fixes #52655
This commit is contained in:
parent
f35b6ce8d8
commit
6bbc7e78e3
@ -361,11 +361,11 @@ export class ModesContentHoverWidget extends ContentHoverWidget {
|
||||
newRange = range.setEndPosition(range.endLineNumber, range.startColumn + model.presentation.label.length);
|
||||
}
|
||||
|
||||
editorModel.pushEditOperations([], textEdits, () => []);
|
||||
this._editor.executeEdits('colorpicker', textEdits);
|
||||
|
||||
if (model.presentation.additionalTextEdits) {
|
||||
textEdits = [...model.presentation.additionalTextEdits];
|
||||
editorModel.pushEditOperations([], textEdits, () => []);
|
||||
this._editor.executeEdits('colorpicker', textEdits);
|
||||
this.hide();
|
||||
}
|
||||
this._editor.pushUndoStop();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user