This is a text editor written in C++ using raylib. I wanted to understand how text editors work under the hood.
- Display basic text
- Line numbers
- Zoom in and out
- Change vertical line spacing
- Cursor movment
- Use
Ctrl + Qto zoom out andCtrl + Eto zoom in - Use
Shift + Qto decrease the vertical spacing andShift + Eto increase the vertical spacing - Use
Ctrl + Gto toggle the debug grid - Use Arrow keys to move the cursor (or Ctrl + ijkl)
- Type any character to insert a character (lower+upper case, numbers)
- Type
Backspaceto delete a character - Type
Enterto insert a new line - Use
Crtl + Dto delete a line - Type
Tabto insert 4 spaces
View TODO.md for a list of features to be implemented.
- Text Input works + TAB handling

- Add cursor/cadet

- Right Now!

- Added Shortcuts for changing line spacing

- Added Line numbers and Text + padding

- Add vertical line spacing

- Main character grid

Build using CMake.
cmake -B build -S .
cmake --build build --config Debug