eye.helpers.macros module

Helpers for recording macros

eye.helpers.macros.record_action(ed, action)[source]

Record a macro action in an editor.actions_recorded

This handler is disabled by default.

This handler is registered for categories ['editor'] on signal action_recorded.

eye.helpers.macros.replay_recorded_macro(ed)[source]

Replay the last recorded macro.

Actions are replayed in an undo-group.

eye.helpers.macros.set_enabled(enabled)[source]
eye.helpers.macros.setup_recording(ed)[source]

Create an empty array for recorded macro actions

This handler is disabled by default.

This handler is registered for categories ['editor'] on signal macro_record_started.