Files
Greg Shuflin 87496b6ffe Design note
2024-03-01 09:56:21 -08:00

1.3 KiB

Pane-Oriented Text Editor

Need to come up with a better name.

Text editor for pane-oriented editing.

Notes

Design Notes

The editor core is conceptually-separate from all frontends. It is responsible for managing the state and screen layout of any number of Buffers, all of which have a unique id. A Buffer may be visible or invisible, may be read-only or read-write, may be primarily for editing text or displaying information (including non-textual information) or accepting commands.

The editor core accepts a constant stream of EditorActions, which represent any action that affects the editor core state from any source - keyboard input, network input, file system changes, internal command evaluation, etc.

The main loop of the editor is running handle_action in a tight (parallelized) loop and repeatedly changing state based on the result.

There needs to be an AugmentedCore that has a conceptually-separate Core and Executor

UI NOtes