diff --git a/doc/EDITOR.md b/doc/EDITOR.md new file mode 100644 index 0000000000..f24f432344 --- /dev/null +++ b/doc/EDITOR.md @@ -0,0 +1,33 @@ + + +``` +// Widget Element RenderObject +// +// │ │ +// +// ┌─────────────────────┐ │ ┌────────────────────────┐ │ ┌─────────────────────────┐ +// │ RenderObjectWidget │◀────────────│ _TextLineElement │─────▶│ RenderEditableTextLine │ +// └─────────────────────┘ │ └────────────────────────┘ │ └─────────────────────────┘ +// △ │ │ +// │ │ │ │ ┌─────────▽────────┐ +// │ ▽ │RenderEditableBox │ +// ┌────────────────────┐ │ ┌──────────────────────┐ │ └──────────────────┘ +// ┌──│ EditableTextLine │ │ RenderObjectElement │ │ +// │ └────────────────────┘ │ └──────────────────────┘ │ ▽ +// │ ┌────────────┐ +// │ │ │ │ RenderBox │ +// │ └────────────┘ +// │ body ┌────────────┐ │ │ │ +// ├──────────▶│ TextLine │ ▽ +// │ └────────────┘ │ │ ┌─────────────┐ +// │ │RenderObject │ +// │ ┌────────────┐ │ │ └─────────────┘ +// └──────────▶│ Line │ +// └────────────┘ │ │ +// +// │ │ Layout, size, painting and +// Widget: holds the config for a Represents an actual comositing +// piece of UI. │ piece of UI │ +// +// +```