File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ module Development.IDE.Core.PositionMapping
11
11
, toCurrentPosition
12
12
, PositionDelta (.. )
13
13
, addDelta
14
+ , addOldDelta
14
15
, idDelta
15
16
, composeDelta
16
17
, mkDelta
@@ -125,7 +126,7 @@ addDelta delta (PositionMapping pm) = PositionMapping (composeDelta delta pm)
125
126
126
127
-- | Add a old delta onto a Mapping k n to make a Mapping (k - 1) n
127
128
addOldDelta :: PositionDelta -> PositionMapping -> PositionMapping
128
- addOldDelta delta (PositionMapping pm) = PositionMapping (composeDelta pm delta )
129
+ addOldDelta delta (PositionMapping pm) = PositionMapping (composeDelta pm delta)
129
130
130
131
-- TODO: We currently ignore the right hand side (if there is only text), as
131
132
-- that was what was done with lsp* 1.6 packages
You can’t perform that action at this time.
0 commit comments