FIX #1669 (GHCi debugger underlining is in the wrong place)
authorPepe Iborra <mnislaih@gmail.com>
Mon, 10 Sep 2007 14:21:29 +0000 (14:21 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Mon, 10 Sep 2007 14:21:29 +0000 (14:21 +0000)
commit5ac833ec6a3ecb038249e5ea9c43b372f77481b5
tree8a3bb787625c5001ca484a6360719a84df15eb40
parent3f070beb602a1b40d185ec49f7b556a7cc624d51
FIX #1669 (GHCi debugger underlining is in the wrong place)

We weren't taking into account the offset added by the line numbers:

Stopped at break020.hs:10:2-8
_result :: IO () = _
9  main = do
10    line1 0
     ^^^^^^^
11    line2 0

This patch adjusts that
compiler/ghci/InteractiveUI.hs