- moved editor keyboard handling to the editor.
- integrated selection deletion