refactor: rename state_tree to document and move document to core/state

This commit is contained in:
Lucas.Xu 2022-10-10 12:08:13 +08:00
commit c34721a8a8

View file

@ -17,7 +17,7 @@ void main() async {
}
test("HistoryItem #1", () {
final document = StateTree(root: _createEmptyEditorRoot());
final document = Document(root: _createEmptyEditorRoot());
final editorState = EditorState(document: document);
final historyItem = HistoryItem();
@ -35,7 +35,7 @@ void main() async {
});
test("HistoryItem #2", () {
final document = StateTree(root: _createEmptyEditorRoot());
final document = Document(root: _createEmptyEditorRoot());
final editorState = EditorState(document: document);
final historyItem = HistoryItem();