led/sub_crates/backend
2025-04-13 12:40:16 +02:00
..
src Move view position and cursors into a new EditorState struct. 2025-04-13 12:40:16 +02:00
tests Move view position and cursors into a new EditorState struct. 2025-04-13 12:40:16 +02:00
Cargo.toml Use Ropey 2 alpha release on crates.io. 2024-10-21 06:39:59 +02:00
README.md Move view position and cursors into a new EditorState struct. 2025-04-13 12:40:16 +02:00

Vocab

  • Buffer: a text buffer. Doesn't have to correspond to an on-disk text file, can also be in-memory scratch buffers.
  • Editor: an open view into a text buffer.
  • EditorState: the view position and cursors/selections of an editor for a particular buffer.
  • Mark: an abstract representation of a range in the text. Used for representing cursors and selections, among other things.
  • Change: a record of simultaneous edits to a buffer. Includes data to both apply and undo the edits.
  • History: a history of changes made to a buffer. Used for undo.