Add keyboard input. Extract out some EditorView rendering steps.