Make "Format Selected Text" work on empty selections.

In this case, it formats the region around the cursor. This is the same
behavior as in the vim and Visual Studio plugins.