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


  getInfo: ->
    range=@getSymbolRange()
    @process.getInfo @getText(), @getSymbol(range), (data) =>
      @showMessage range,data

  doCheck: ->
    @clearError()

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

module.exports =
class EditorController
