mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
fix #34007
This commit is contained in:
parent
35743c41cf
commit
52f9f97f0d
|
@ -38,7 +38,7 @@ export class QuickFixOracle {
|
|||
|
||||
trigger(type: 'manual' | 'auto'): void {
|
||||
let rangeOrSelection = this._getRangeOfMarker() || this._getRangeOfSelectionUnlessWhitespaceEnclosed();
|
||||
if (type === 'manual') {
|
||||
if (!rangeOrSelection && type === 'manual') {
|
||||
rangeOrSelection = this._editor.getSelection();
|
||||
}
|
||||
this._createEventAndSignalChange(type, rangeOrSelection);
|
||||
|
|
Loading…
Reference in a new issue