mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-22 11:01:48 +03:00
Small layout tweak for Buffer::HistoryNode
This commit is contained in:
parent
cb2e1a17b3
commit
45b145f540
@ -249,17 +249,17 @@ private:
|
||||
String m_display_name;
|
||||
Flags m_flags;
|
||||
|
||||
using UndoGroup = Vector<Modification, MemoryDomain::BufferMeta>;
|
||||
using UndoGroup = Vector<Modification, MemoryDomain::BufferMeta>;
|
||||
|
||||
struct HistoryNode : SafeCountable, UseMemoryDomain<MemoryDomain::BufferMeta>
|
||||
{
|
||||
HistoryNode(size_t id, HistoryNode* parent);
|
||||
|
||||
size_t id;
|
||||
SafePtr<HistoryNode> parent;
|
||||
UndoGroup undo_group;
|
||||
Vector<std::unique_ptr<HistoryNode>, MemoryDomain::BufferMeta> childs;
|
||||
SafePtr<HistoryNode> parent;
|
||||
SafePtr<HistoryNode> redo_child;
|
||||
size_t id;
|
||||
TimePoint timepoint;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user