Select the word in the results pane and right-click "Look up on Hoogle"
Same happens when doing this from the REPL input line.
Atom Version: 1.5.3
System: Microsoft Windows 7 Enterprise
Thrown From: haskell-hoogle package, v0.1.3
Stack Trace
Uncaught TypeError: editor.getLastSelection is not a function
At /C:/Users/ggreif/.atom/packages/haskell-hoogle/lib/haskell-hoogle.coffee:19
TypeError: editor.getLastSelection is not a function
at Object.module.exports.HaskellHoogle.getSearchText (file:///C:/Users/ggreif/.atom/packages/haskell-hoogle/lib/haskell-hoogle.coffee:10:19)
at Object.module.exports.HaskellHoogle.lookup (file:///C:/Users/ggreif/.atom/packages/haskell-hoogle/lib/haskell-hoogle.coffee:13:13)
at atom-workspace.<anonymous> (file:///C:/Users/ggreif/.atom/packages/haskell-hoogle/lib/haskell-hoogle.coffee:6:70)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:260:29)
at CommandRegistry.handleCommandEvent (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:160:19)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\app.asar\src\atom-environment.js:1019:28)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:172:7)
at EventEmitter.ipc.sendSync (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\atom.asar\renderer\api\lib\ipc.js:21:31)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\atom.asar\renderer\api\lib\remote.js:143:29)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\app.asar\src\context-menu-manager.js:156:33)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentContextmenu (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\app.asar\src\window-event-handler.js:250:47)
at HTMLDocument.<anonymous> (C:\Users\ggreif\AppData\Local\atom\app-1.5.3\resources\app.asar\src\window-event-handler.js:3:61)
Steps to reproduce
forkIO
and hit ENTERSame happens when doing this from the REPL input line.
Atom Version: 1.5.3 System: Microsoft Windows 7 Enterprise Thrown From: haskell-hoogle package, v0.1.3
Stack Trace
Uncaught TypeError: editor.getLastSelection is not a function
Commands
Config
Installed Packages