mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-08 23:32:36 -05:00
Revert "Merge pull request #42647 from Microsoft/joao/fix-42494"
fixes Microsoft/monaco-editor#739 This reverts commit04f5a8c4d6, reversing changes made tof8b2e22b89.
This commit is contained in:
@@ -102,7 +102,6 @@ const copyrightFilter = [
|
||||
'!**/*.disabled',
|
||||
'!**/*.code-workspace',
|
||||
'!build/**/*.init',
|
||||
'!resources/linux/snap/electron-launch',
|
||||
'!resources/linux/snap/snapcraft.yaml',
|
||||
'!resources/win32/bin/code.js',
|
||||
'!extensions/markdown/media/tomorrow.css',
|
||||
|
||||
@@ -731,17 +731,18 @@ export class SuggestWidget implements IContentWidget, IDelegate<ICompletionItem>
|
||||
*/
|
||||
this.telemetryService.publicLog('suggestWidget', { ...stats, ...this.editor.getTelemetryData() });
|
||||
|
||||
this.focusedItem = null;
|
||||
this.focusedItemIndex = null;
|
||||
this.list.splice(0, this.list.length, this.completionModel.items);
|
||||
this.list.reveal(selectionIndex, selectionIndex);
|
||||
|
||||
if (isFrozen) {
|
||||
this.setState(State.Frozen);
|
||||
} else {
|
||||
this.setState(State.Open);
|
||||
}
|
||||
|
||||
this.focusedItem = null;
|
||||
this.focusedItemIndex = null;
|
||||
this.list.splice(0, this.list.length, this.completionModel.items);
|
||||
this.list.setFocus([selectionIndex]);
|
||||
this.list.reveal(selectionIndex, selectionIndex);
|
||||
|
||||
// Reset focus border
|
||||
if (this.detailsBorderColor) {
|
||||
|
||||
Reference in New Issue
Block a user