 
   getInfo: ->
     range=@getSymbolRange()
-    @process.getInfo @getText(), @getSymbol(range), (data) =>
-      @showMessage range,data
+    @process.getInfo @getText(), @getSymbol(range), (data,path) =>
+      @showMessage range,replaceAll(data,path,@getPath())
 
   doCheck: ->
     @clearError()

  getSymbol: (range) ->
    range=@getSymbolRange() unless range
    @editor.getTextInBufferRange range

{Range,CompositeDisposable} = require('atom')
{HaskellGhcModMessage} = require('./haskell-ghc-mod-message')
replaceAll = require './replace-all'

module.exports =
class EditorController
