Commit Graph

7 Commits

Author SHA1 Message Date
ade1e60eb5
editor: Fix creation of new files
Some checks are pending
Build and test / build (push) Waiting to run
The editor is supposed to create files if they don't exist, however before this commit stat() would fail and exit load_file() before we even got to File::open_or_create().
2024-03-29 20:41:16 +01:00
662a315597
editor: Display only the basename of the current file in the window title 2024-03-29 20:36:44 +01:00
8db14d8883
editor: Use TextInput as a base class 2024-03-29 20:18:58 +01:00
2aa0612400
editor: Refuse to load non-regular file types
All checks were successful
Build and test / build (push) Successful in 2m4s
2024-03-14 13:09:03 +01:00
fc17399d82
editor: Remove insert mode and use the arrow keys to navigate, plus Ctrl+S to save
All checks were successful
Build and test / build (push) Successful in 2m4s
2024-03-14 12:40:46 +01:00
aae5f21f7f
editor: Add basic loading and saving 2024-03-14 12:40:46 +01:00
d996e3f9f8
editor: Add a basic text editor 2024-03-14 12:40:46 +01:00