Skip to content

Commit 8567f4a

Browse files
committed
Fix closing param
1 parent 3182e27 commit 8567f4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PowerShellEditorServices/Utility/AstExtensions.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,12 @@ internal static bool StartsAfter(this Ast ast, IScriptPosition other)
117117
=> ast.Extent.StartsAfter(other);
118118

119119
/// <summary>
120-
/// Finds the outermost Ast that starts before the target and matches the predicate within the scope. Returns null if none found. Useful for finding definitions of variable/function references
120+
/// Finds the outermost Ast that starts before the target and matches the predicate within the scope.
121+
/// Returns null if none found. Useful for finding definitions of variable/function references.
121122
/// </summary>
122123
/// <param name="target">The target Ast to search from</param>
123124
/// <param name="predicate">The predicate to match the Ast against</param>
124-
/// <param name="crossScopeBoundaries">If true, the search will continue until the topmost scope boundary is
125+
/// <param name="crossScopeBoundaries">If true, the search will continue until the topmost scope boundary is found.</param>
125126
/// <param name="searchNestedScriptBlocks">Searches scriptblocks within the parent at each level. This can be helpful to find "side" scopes but affects performance</param>
126127
internal static Ast? FindStartsBefore(this Ast target, Func<Ast, bool> predicate, bool crossScopeBoundaries = false, bool searchNestedScriptBlocks = false)
127128
{

0 commit comments

Comments
 (0)