| Did you know ... | Search Documentation: |
| editor-focus_function |
<->focus_function
variable is used to process commands that start a kind of sub-mode,
such as entering a numeric argument, doing incremental search, doing a
dabbrev expansion, etc.
An interactive behaviour that uses such a sub-loop sets this variable
to the selector that handles the loop. As a consequence, editor->typed
will invoke this method on each subsequent character typed until
<->focus_function
to @nil. If
the method invoked via editor<->focus_function
succeeds, editor->typed
assumes the character is handled.
By convention, the method that is invoked by the focus function has the same name than the method that set the focus preceded by an underscore:
quoted_insert ->
_quoted_insert