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
@@ -218,10 +218,7 @@ fullRange s = Range startPos endPos
218
218
lastLine =fromIntegral$length$T.lines s
219
219
220
220
subRange::Range->Range->Bool
221
-
subRange smallRange range = _start smallRange >= _start range && _end smallRange <= _end range
222
-
223
-
positionInRange::Position->Range->Bool
224
-
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