Refactor a function 'editor.api.start'.
Just work!
Refactor to merge controler.userEvent.viewHandler.setViewModeXxx to controler.userEvent.viewHandler.setViewMode.