Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Zed_macroMacro recorder
val create : 'a list -> 'a tcreate macro create a new macro recorder, with initial contents macro.
val recording : 'a t -> bool React.signalWhether the recorder is recording a macro.
val get_recording : 'a t -> boolReturns the current state of the recorder.
val set_recording : 'a t -> bool -> unitStarts or stops the macro recorder.
val cancel : 'a t -> unitCancels the current macro if recording one.
val count : 'a t -> int React.signalThe number of actions in the macro recorder. It is 0 if the recorder is not currently recording.
val get_count : 'a t -> intReturns the current number of actions in the macro recorder.
val add : 'a t -> 'a -> unitadd recorder x adds x to the recorder if it is recording a macro.
val contents : 'a t -> 'a listReturns the currently recorded macro.
val counter : 'a t -> int React.signalThe contents of the macro counter.
val get_counter : 'a t -> intGets the contents of the macro counter.
val set_counter : 'a t -> int -> unitSets the macro counter to the given value.
val add_counter : 'a t -> int -> unitAdds the given value to the macro counter.