mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fixes
This commit is contained in:
parent
1ea5c08147
commit
d6bf20d8ca
|
@ -99,7 +99,7 @@ class ModesContentComputer implements IHoverComputer<HoverPart[]> {
|
|||
}
|
||||
|
||||
computeSync(): HoverPart[] {
|
||||
if (!this._editor.hasModel() || !this._range) {
|
||||
if (!(this._editor.hasModel() && this._range)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue