JetBrains/ideavim — pull request #63 by selesse (2014-12-14 17:24:33+00:00)
Title: Fix broken sorting when sorting with leading whitespace

`StringUtil.splitByLines` incorrectly splits strings with leading whitespace. For example, ` a\n b\n c\n` is split into `[ a,b,c]` instead of `[ a, b, c]`.

This meant that if an IdeaVim user tried to sort lines with leading whitespace, the sorting was incorrect.

I changed the implementation from `StringUtil.splitByLines` to Guava's `Splitter` and added a unit test.