Trying to add undo

This commit is contained in:
Krzosa Karol
2024-06-29 12:15:39 +02:00
parent c8ad9222fd
commit ceecb6cc81
4 changed files with 116 additions and 30 deletions

View File

@@ -225,7 +225,7 @@ void MergeSort(int64_t Count, Edit *First, Edit *Temp) {
}
}
void ApplyEdits(Buffer *buffer, Array<Edit> edits) {
void _ApplyEdits(Buffer *buffer, Array<Edit> edits) {
Scratch scratch((Arena *)buffer->allocator.object);
Assert(buffer->data[0]);
Assert(buffer->allocator.proc);