Skip to content

Commit

Permalink
Update packages/cursorless-engine/src/processTargets/modifiers/Prefer…
Browse files Browse the repository at this point in the history
…redScopeStage.ts

Co-authored-by: Phil Cohen <[email protected]>
  • Loading branch information
AndreasArvidsson and phillco authored Aug 4, 2024
1 parent b5aeba8 commit cc0c350
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import type { ScopeHandler } from "./scopeHandlers/scopeHandler.types";
import type { ScopeHandlerFactory } from "./scopeHandlers/ScopeHandlerFactory";

/**
* This modifier tries to find the preferred scope for the target.
* It does this by first looking for a containing scope, and if that fails,
* it looks for the closest scope.
* This modifier tries to find the "preferred" scope for the target.
*
* It does this by first looking for a containing scope, and if one doesn't exist, the closest scope.
*/
export class PreferredScopeStage implements ModifierStage {
constructor(
Expand Down

0 comments on commit cc0c350

Please sign in to comment.