- Add visual file picker for GUI with toggle support. - Introduce `GUIConfig` class for loading GUI settings from configuration file. - Refactor window initialization to support dynamic sizing based on configuration. - Add macOS-specific handling for fullscreen behavior. - Improve header inclusion order and minor code cleanup.
16 lines
371 B
C
16 lines
371 B
C
#ifndef KTE_UNDOTREE_H
|
|
#define KTE_UNDOTREE_H
|
|
|
|
#include "UndoNode.h"
|
|
|
|
|
|
struct UndoTree {
|
|
UndoNode *root = nullptr; // first edit ever
|
|
UndoNode *current = nullptr; // current state of buffer
|
|
UndoNode *saved = nullptr; // points to node matching last save (for dirty flag)
|
|
UndoNode *pending = nullptr; // in-progress batch (detached)
|
|
};
|
|
|
|
|
|
#endif // KTE_UNDOTREE_H
|