LTerm_editSourceText edition
type action = | Zed of Zed_edit.actionA zed action.
*)| Start_macroStart a new macro.
*)| Stop_macroEnds the current macro.
*)| Cancel_macroCancel the current macro.
*)| Play_macroPlay the last recorded macro.
*)| Insert_macro_counterInsert the current value of the macro counter.
*)| Set_macro_counterSets the value of the macro counter.
*)| Add_macro_counterAdds a value to the macro counter.
*)| Custom of unit -> unitBindings. These bindings are used by LTerm_read_line and by edition widgets.
bind seq actions associates actions to the given sequence.
unbind seq unbinds seq.
doc_of_action action returns a short description of the action.
action_of_name str converts the given action name into an action. Action name are the same as variants name but lowercased and with '_' replaced by '-'. It raises Not_found if the name does not correspond to an action. It also recognizes zed actions.
The global clipboard.
The global macro recorder.
class edit : ?clipboard:Zed_edit.clipboard -> ?macro:action Zed_macro.t -> ?size:
LTerm_geom.size -> unit -> object ... endClass of edition widgets. If no clipboard is provided, then the global one is used.