You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Uncaught TypeError: Cannot read property 'getBufferRange' of undefined #343
Atom Version: 0.176.0 System: Mac OS X 10.10.1 Thrown From: find-and-replace package, v0.156.0
Stack Trace
Uncaught TypeError: Cannot read property 'getBufferRange' of undefined
At /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1728
TypeError: Cannot read property 'getBufferRange' of undefined
at TextEditor.module.exports.TextEditor.getSelectedBufferRange (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1728:37)
at FindModel.module.exports.FindModel.setCurrentMarkerFromSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/find-and-replace/lib/find-model.js:173:46)
at FindModel.setCurrentMarkerFromSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/find-and-replace/lib/find-model.js:3:61)
at FindModel.module.exports.FindModel.destroyAllMarkers (/Applications/Atom.app/Contents/Resources/app/node_modules/find-and-replace/lib/find-model.js:245:19)
at FindModel.module.exports.FindModel.updateMarkers (/Applications/Atom.app/Contents/Resources/app/node_modules/find-and-replace/lib/find-model.js:164:14)
at /Applications/Atom.app/Contents/Resources/app/node_modules/find-and-replace/lib/find-model.js:56:28
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/service-hub/node_modules/event-kit/lib/emitter.js:82:11)
at /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:1151:25
Activity
izuzak commentedon Feb 12, 2015
@rachel-carvalho I don't have a samba share, so can't really even try to reproduce. However, I did try to reproduce locally, but failed.
Could you help us debug this issue a bit more?
rachel-carvalho commentedon Feb 12, 2015
This has happened to me quite often, always on a less file, always using my snippet, always I use it wrap some rules in another selector:
But I'm still not exactly sure how to trigger it. And I don't get why find and replace is doing anything, because I'm never using find.
I'll pay closer attention and will report back.
benogle commentedon Aug 11, 2015
Is this still an issue?
rachel-carvalho commentedon Aug 24, 2015
I'm not seeing this error anymore for a while, I'll close the issue.