editor-base: always force-update selection after executing a command.
editor: don't expand the range past the editor input container