controller/history_manager library

Classes

EditorStateSnapshot
状态快照数据结构(用于历史记录)
HistoryManager
历史记录管理器 负责管理编辑历史,支持撤销和回退功能