[bug] errors when tabLength % 2 !== 0


Atom is throwing errors when you set tabLength value which isn’t divisible by 2. It’s doing it sometimes when you press [tab], or when you enter a new line.
I agree it’s not something you’d do very often, but I think it still shouldn’t break the editor.


actually it may be only an issue with tabLength == 3, it seems to work fine with 5