mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-19 17:58:39 +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 decorations[0].getActiveRange() ?? undefined;
|
||||
return (decorations.length > 0 ? (decorations[0].getActiveRange() ?? undefined) : undefined);
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
|
||||
Reference in New Issue
Block a user