on.text_input = function(t) edit.text_input(Current_pane.editor_state, t) end