Skip to content

Commit dc2d2fc

Browse files
committed
Fix selected content
1 parent 5f07431 commit dc2d2fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tool/Sources/SuggestionBasic/EditorInformation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public struct EditorInformation {
103103
inside range: CursorRange,
104104
ignoreColumns: Bool = false
105105
) -> (code: String, lines: [String]) {
106-
guard range.start <= range.end else { return ("", []) }
106+
guard range.start < range.end else { return ("", []) }
107107

108108
let rangeLines = lines(in: code, containing: range)
109109
if ignoreColumns {

0 commit comments

Comments
 (0)