Fixed: #2278 Editor should not have upward dependencies on EditorManager

Fixed: #2278
added focus listener and moved _handleSelectAll() to
EditorCommandHandler