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 5f07431 commit dc2d2fcCopy full SHA for dc2d2fc
Tool/Sources/SuggestionBasic/EditorInformation.swift
@@ -103,7 +103,7 @@ public struct EditorInformation {
103
inside range: CursorRange,
104
ignoreColumns: Bool = false
105
) -> (code: String, lines: [String]) {
106
- guard range.start <= range.end else { return ("", []) }
+ guard range.start < range.end else { return ("", []) }
107
108
let rangeLines = lines(in: code, containing: range)
109
if ignoreColumns {
0 commit comments