mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat(doc): document's state
This commit is contained in:
parent
f2c624778e
commit
f0ed15440a
@ -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 New Issue
Block a user