You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hls-plugin-api/src/Ide/PluginUtils.hs
+1-4
Original file line number
Diff line number
Diff line change
@@ -217,10 +217,7 @@ fullRange s = Range startPos endPos
217
217
lastLine =fromIntegral$length$T.lines s
218
218
219
219
subRange::Range->Range->Bool
220
-
subRange smallRange range = _start smallRange >= _start range && _end smallRange <= _end range
221
-
222
-
positionInRange::Position->Range->Bool
223
-
positionInRange p (Range sp ep) = sp <= p && p < ep -- Range's end position is exclusive, see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#range
0 commit comments