https://github.com/selfmadesystem/text-editor-test
Text Editor test thingy I made for funsies
https://github.com/selfmadesystem/text-editor-test
rust text-editor
Last synced: 8 months ago
JSON representation
Text Editor test thingy I made for funsies
- Host: GitHub
- URL: https://github.com/selfmadesystem/text-editor-test
- Owner: SelfMadeSystem
- License: mit
- Created: 2024-01-15T20:14:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T20:19:17.000Z (over 2 years ago)
- Last Synced: 2025-01-15T01:45:03.107Z (over 1 year ago)
- Topics: rust, text-editor
- Language: Rust
- Homepage:
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Text Editor Test
A little text editor I made with Rust and Speedy2D.
It uses a [piece table](https://en.wikipedia.org/wiki/Piece_table)-like data structure to store the text, which allows for fast inserts and deletes.
## Features
- [x] Fast inserts and deletes
- [ ] Undo/redo
## Controls
- Left/Right arrow keys: Move cursor
- Home/End: Move cursor to start/end of line
- Page Up: Move cursor to center of the file
- Page Down: Move cursor to end of the file
- Down: Print current file information to console
## Building
1. Install Rust and Cargo
2. Clone this repository
3. Run `cargo build --release` in the repository directory
## License
This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for details.