Rather than truncating the undo stack when making an edit after undoing, the undo steps themselves are pushed onto the undo stack before the edit. This means that the undo stack never loses any previous states of the document, and those states are always accessible by just undoing enough. |
||
---|---|---|
src | ||
sub_crates/backend | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
ideas.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
Led
Led is a humble and simple console-based text editor, written in Rust and using Ropey as its text buffer.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Copyright © 2022 Nathan Vegdahl.
Contributing
This is a personal, experimental, for-fun project, and I am specifically not looking for contributions of any kind. All PRs will be rejected without review.
However, feel free to fork this into an entirely new project, or examine the code for ideas for a project of your own.