Closed photex closed 8 years ago
I have the same issue. Any solution/progress?
Having same issue, but different error. Hitting cmd-I
and then esc
gives me Uncaught TypeError: this.editSession.getBuffer(...).off is not a function
:
TypeError: this.editSession.getBuffer(...).off is not a function
at SearchModel.module.exports.SearchModel.cleanup (/Users/alex/.atom/packages/incremental-search/lib/search-model.coffee:168:32)
at SearchModel.module.exports.SearchModel.cancelSearch (/Users/alex/.atom/packages/incremental-search/lib/search-model.coffee:151:6)
at InputView.module.exports.InputView.cancelSearch (/Users/alex/.atom/packages/incremental-search/lib/input-view.coffee:147:18)
at space-pen-div.subscriptions.add.atom.commands.add.core:cancel (/Users/alex/.atom/packages/incremental-search/lib/input-view.coffee:37:26)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)
Same as @atombender here on Windows
Same issue on a mac. Just installed atom yesterday and this package today. I miss incremental search from Textmate.
/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:168
Hide Stack Trace
TypeError: this.editSession.getBuffer(...).off is not a function
at SearchModel.module.exports.SearchModel.cleanup (/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:168:32)
at SearchModel.module.exports.SearchModel.cancelSearch (/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:151:6)
at InputView.module.exports.InputView.cancelSearch (/Users/gal/.atom/packages/incremental-search/lib/input-view.coffee:147:18)
at space-pen-div.subscriptions.add.atom.commands.add.core:cancel (/Users/gal/.atom/packages/incremental-search/lib/input-view.coffee:37:26)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)
After restarting and trying again, I get this:
/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:226
Hide Stack Trace
TypeError: this.editSession.getSelection is not a function
at SearchModel.module.exports.SearchModel.findMarkerForward (/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:226:77)
at SearchModel.module.exports.SearchModel.moveToClosestResult (/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:211:52)
at SearchModel.module.exports.SearchModel.updateMarkers (/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:200:6)
at SearchModel.module.exports.SearchModel.update (/Users/gal/.atom/packages/incremental-search/lib/search-model.coffee:273:8)
at InputView.module.exports.InputView.updateSearchText (/Users/gal/.atom/packages/incremental-search/lib/input-view.coffee:85:18)
at /Users/gal/.atom/packages/incremental-search/lib/input-view.coffee:30:50
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1273:25
BTW this one seems to work fine:
Same issue here as well.
@galori @atombender the getBuffer.off is not a function I think I was able to fix. Please try again with v5.0.3
I think I fixed it, if it's still happening please reopen the issue.
[Enter steps to reproduce below:]
Atom Version: 1.0.15 System: Mac OS X 10.10.5 Thrown From: incremental-search package, v5.0.1
Stack Trace
Uncaught TypeError: this.editSession.getSelection is not a function
Commands
Config
Installed Packages