Greg Shuflin 55f316f028 Command::NAMES as single source of truth for names/aliases; use in dispatch and completion
- Move Command enum to commands/mod.rs with NAMES, from_name, takes_path_arg
- Replace manual match in CommandAPI::execute with Command::from_name
- Derive canonical names for completion from Command::NAMES (first per variant)
- Simplify complete() to use Command::takes_path_arg instead of complete_path_arg
- Fix bug: 'h' was incorrectly listed as alias for both help and finder
2026-03-03 14:22:10 -08:00
2024-01-07 19:03:31 -08:00
2026-01-08 01:53:49 -08:00
2026-01-08 01:53:49 -08:00
2024-03-01 09:56:21 -08:00

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

S
Description
Pane-based text buffer editor
Readme
354 KiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 100%