Skip to content

Commit de5d624

Browse files
authored
Update packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler/InteriorScopeHandler.ts
1 parent 5c444eb commit de5d624

File tree

1 file changed

+2
-3
lines changed
  • packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler

1 file changed

+2
-3
lines changed

packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/SurroundingPairScopeHandler/InteriorScopeHandler.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ export class InteriorScopeHandler extends BaseScopeHandler {
113113

114114
private shouldYield(targetDomain: Range, scope: TargetScope): boolean {
115115
// For an explicit scope type we only yield scopes that are contained within
116-
// the target domain. E.g the user said "inside token", then we don't want
117-
// to yield scopes that are larger than the token. The definition of an
118-
// interior is that it's inside the scope.
116+
// the target domain. For example, if the user said "inside token", we don't
117+
// want to yield scopes that are larger than the token.
119118
return (
120119
!this.scopeType.explicitScopeType || targetDomain.contains(scope.domain)
121120
);

0 commit comments

Comments
 (0)