MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / startRecording

Method startRecording

src/MacroRecorder.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void MacroRecorder::startRecording(ScintillaNext *editor)
33{
34 this->editor = editor;
35 connect(editor, &ScintillaNext::macroRecord, this, &MacroRecorder::recordMacroStep);
36
37 // We don't "own" the macro so don't delete it if it is a valid pointer
38 macro = new Macro();
39
40 editor->startRecord();
41}
42
43Macro *MacroRecorder::stopRecording()
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected