Skip to content

Commit e963ce9

Browse files
committed
Add CursorRange.outOfScope
1 parent b2199bb commit e963ce9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Core/Sources/CopilotModel/ExportedFromLSP.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ public typealias CursorRange = LanguageServerProtocol.LSPRange
66
public extension CursorPosition {
77
static var outOfScope: CursorPosition { .init(line: -1, character: -1) }
88
}
9+
10+
public extension CursorRange {
11+
static var outOfScope: CursorRange { .init(start: .outOfScope, end: .outOfScope) }
12+
}

0 commit comments

Comments
 (0)