Skip to content

Commit 6e1e387

Browse files
committed
Revert SwiftFocusCodeFinder behavior
1 parent 2ad4d33 commit 6e1e387

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Tool/Sources/FocusedCodeFinder/SwiftFocusedCodeFinder.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ public struct SwiftFocusedCodeFinder: FocusedCodeFinder {
6161
}
6262
}
6363
guard let focusedNode else {
64-
var result =
65-
UnknownLanguageFocusedCodeFinder(
66-
proposedSearchRange: maxFocusedCodeLineCount / 2
67-
)
64+
var result = UnknownLanguageFocusedCodeFinder(proposedSearchRange: 8)
6865
.findFocusedCode(
6966
containingRange: range,
7067
activeDocumentContext: activeDocumentContext

0 commit comments

Comments
 (0)