robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

dundargocrefactor(IWYU): fix headers1813661a61

master
516 B18 linesraw
1#pragma once
2
3#include "klib/kvec.h"
4
5// TODO(bfredl): good enough name for now.
6typedef ptrdiff_t bcount_t;
7
8typedef struct undo_object ExtmarkUndoObject;
9typedef kvec_t(ExtmarkUndoObject) extmark_undo_vec_t;
10
11// Undo/redo extmarks
12
13typedef enum {
14  kExtmarkNOOP,        // Extmarks shouldn't be moved
15  kExtmarkUndo,        // Operation should be reversible/undoable
16  kExtmarkNoUndo,      // Operation should not be reversible
17  kExtmarkUndoNoRedo,  // Operation should be undoable, but not redoable
18} ExtmarkOp;