Handles keyboard input to the editor.
Consider overriding on-local-char or on-default-char instead of this method.
Either passes this event on to a caret-owning snip or calls on-local-char .