Added summary to editor

This commit is contained in:
Igor Támara 2025-11-11 20:44:23 -05:00 committed by CJ van den Berg
parent 3417f6a97c
commit a239b2b5f2

View file

@ -13,7 +13,11 @@
To get the most of this section, it's recommended to have read the
[architecture briefing](/docs/architecture), about
[commands](/docs/architecture/command) and
[keybinds](/docs/architecture/keybind).
[keybinds](/docs/architecture/keybind) at least.
A word of warning: Flow code evolves and it is possible that some code
exposed here is older than the current one. Always refer to
[master](https://github.com/neurocyte/flow) in doubt.
[]($section.id("concepts"))
## Some concepts
@ -366,6 +370,15 @@ fn with_cursel_mut(self: *Self, root: Buffer.Root, op: cursel_operator_mut, curs
As seen, the only task for `with_cursel_mut` is providing the required
elements to let `to_upper_cursel` do what was described previously.
## Adding functionalities to the editor
As shown, the basics to manipulate the buffer via the editor involves
reviewing if cursors, marks, selections are to be modified, changed or
if the contents are. Picking functions for it and focusing on the
task for a single cursel, cursor or selection is key and the use of the
already present functions will allow to act on multiple elements at
once.
[]($section.id("next"))
## Next steps