Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-12 | Make the editor modal and refactor keyboard events | cflip | |
This makes the editor behave more like vi, with a seperate insert mode. This also refactors the keyboard input code to pass the SDL_Keysym structure to input.c and to use the SDL_TEXTINPUT event for editing text. SDL's text input event already fixes typing capital letters with shift, and should make it possible to enter text using an IME, however most unicode characters aren't properly rendered. | |||
2023-01-12 | Move cursor movement into separate functions | cflip | |
2023-01-09 | Implement basic keyboard event handling | cflip | |
2023-01-08 | Use C-style include guards instead of #pragma once | cflip | |
2023-01-08 | Initial import of existing source code | cflip | |
This is based off of snaptoken's "Build Your Own Text Editor" tutorial at https://viewsourcecode.org/snaptoken/kilo/. |