KeyMap Manager Bug?


#1

Hi all,

I try to multi-line select two lines and after push TAB TAB buttons for indentation, the atom give me an error Uncaught Error like:

3 Uncaught Error: Passed an empty array to setSelectedBufferRanges /usr/share/atom/resources/app/node_modules/text-buffer/lib/history.js:99
Uncaught Error: Passed an empty array to setSelectedBufferRanges /usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:544
module.exports.KeymapManager.dispatchCommandEvent /usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:544

My atom version is v0.141.0 (2014-10-30)

is this a bug?

Regards,

ustuntas


#2

See if you can reproduce in safe mode; atom --safe. My hunch is that this is caused by either emmet or autocomplete-plus.


#3

There is no error in safe mode. I use saschagehlich/autocomplete-plus and emmetio/emmet-atom. But when i disable emmet there is no any error. I suppose that these errors come from emmet. Not directly from atom.


#4

That is correct. Emmet is causing a lot of errors lately. At this stage I’m tempted to discourage using it…


#5

I will wait for solving this issues. So i am disable emmet from atom temporarily.