mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
next/previous commenting range command doesn't work (#193958)
Fixes #193728
This commit is contained in:
@@ -344,7 +344,7 @@ class CommentingRangeDecorator {
|
|||||||
|
|
||||||
return range;
|
return range;
|
||||||
}
|
}
|
||||||
return decorations[0].getActiveRange() ?? undefined;
|
return (decorations.length > 0 ? (decorations[0].getActiveRange() ?? undefined) : undefined);
|
||||||
}
|
}
|
||||||
|
|
||||||
public dispose(): void {
|
public dispose(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user