atom/vim-mode — pull request #354 by Zren (2014-07-23 11:57:06+00:00)
Title: Fix MoveRight when tabs are present

While working with @rverton to do #353. According to @rverton, this change works in all cases.

[07:45] The first solution you posted works as it should here, also on empty lines.
[07:45] This one: http://hastebin.com/rurufusopa.coffee

> @rverton wrote in #353:
> Fixing a bug which occured when doing a MoveRight and tabs were present in the line. lineForRow counts tabs as a single char so the cursor does not move to the end of the line.
> ![](https://cloud.githubusercontent.com/assets/1506585/3672237/1f3f99cc-125c-11e4-9ee4-fc77dc069733.gif)

PS: I spent way too long on this.