VIM-582 Fixed line comment and reformat commands with no visual selection
Revert "Remove editor selection after undo"

This reverts commit 13fc78028712b2e9fcf69ea09bb3450de569472d.
Release notes