We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbcc8c0 commit e75665eCopy full SHA for e75665e
1 file changed
CodeEdit/Features/Documents/WorkspaceDocument+Search.swift
@@ -197,7 +197,7 @@ extension WorkspaceDocument {
197
}
198
199
await withTaskGroup(of: SearchResultMatchModel?.self) { group in
200
- for (lineNumber, line) in string.components(separatedBy: .whitespacesAndNewlines).lazy.enumerated() {
+ for (lineNumber, line) in string.components(separatedBy: .newlines).lazy.enumerated() {
201
group.addTask {
202
let rawNoSpaceLine = line.trimmingCharacters(in: .whitespacesAndNewlines)
203
let noSpaceLine = rawNoSpaceLine.lowercased()
0 commit comments