280b0c90af
apps+editor+libui+terminal: Rework the layout system
Build and test / build (push) Failing after 1m49s
2024-05-19 14:21:30 +02:00
69f3e28f2c
editor: Use window->add_keyboard_shortcut to handle Ctrl+S
Build and test / build (push) Failing after 13m5s
2024-04-15 19:34:09 +02:00
1176e64a7c
editor: Fix creation of new files
...
Build and test / build (push) Successful in 1m44s
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-04-15 17:06:04 +00:00
e7780b04ee
editor: Display only the basename of the current file in the window title
2024-04-15 17:06:04 +00:00
8b3755873b
editor: Use TextInput as a base class
2024-04-15 17:06:04 +00:00
eb3af60497
editor: Refuse to load non-regular file types
2024-04-15 17:06:04 +00:00
aee100753d
editor: Remove insert mode and use the arrow keys to navigate, plus Ctrl+S to save
2024-04-15 17:06:04 +00:00
0be6a896bb
editor: Add basic loading and saving
2024-04-15 17:06:04 +00:00
7d738433ed
editor: Add a basic text editor
2024-04-15 17:06:04 +00:00