mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-23 09:08:24 +00:00
feat(doc): document's state
This commit is contained in:
parent
f2c624778e
commit
f0ed15440a
1 changed files with 9 additions and 0 deletions
|
|
@ -26,6 +26,15 @@ enum CursorUpdateReason {
|
|||
others,
|
||||
}
|
||||
|
||||
/// The state of the editor.
|
||||
///
|
||||
/// The state including:
|
||||
/// - The document to render
|
||||
/// - The state of the selection.
|
||||
///
|
||||
/// [EditorState] also includes the services of the editor:
|
||||
/// - Selection service
|
||||
/// - Scroll service
|
||||
class EditorState {
|
||||
final StateTree document;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue