> home > Custom Layer Boundary API

global_history_edit_group_end

September 8th 2024
End an edit group to merge all edits across all buffers

Signature

C++
void
global_history_edit_group_end(Application_Links* app);

Parameters

app

the standard custom layer context pointer

Details

When inside a global history edit group, all edits are merged into group edits, and the global edit number counter is frozen. Groups are formed by a nest counter, so that each call to global_history_edit_group_begin must be matched by a call to global_history_edit_group_end.