MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / begin_undo_action

Method begin_undo_action

test/MockEditorInterface.cpp:598–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597
598void MockEditorInterface::begin_undo_action() {
599 for (auto &doc : m_documents[m_target_view])
600 doc.save_state();
601 m_save_undo[m_target_view] = false;
602}
603
604void MockEditorInterface::end_undo_action() {
605 m_save_undo[m_target_view] = true;

Callers

nothing calls this directly

Calls 1

save_stateMethod · 0.80

Tested by

no test coverage detected