summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2023-05-01Implement window handlingAlbert Cervin
Also implement searching. fix undo boundaries when it checked for other save point, it used && instead of == which caused it to overwrite other types. Fix bytes vs chars bug in text_get_region
2023-04-06fix what I messed upAlbert Cervin
Undo was relying on buffer_goto being 0-indexed when it comes to lines, whereas the new --line flag was not.
2023-04-06some minor cleanupAlbert Cervin
2023-03-17Implement support for languagesAlbert Cervin
Uses the settings system to implement a small system for per-language settings.
2023-02-21Implement support for settingsAlbert Cervin
Settings are a flat "dictionary" containing paths to settings on the format: <category>.<sub-category>.<setting>.
2023-02-15Implement undoAlbert Cervin
This also fixes a bunch of valgrind errors
2023-02-02Add kill-ring pastingAlbert Cervin
M-y can cycle through earlier cut/copies. Also fix minibuffer tokenization error and error when deleting text. Vertical scrolling also works as it should now.
2023-01-31Implement mark and copy-pasteAlbert Cervin
Also fix some memory leaks
2023-01-29More tests and documentationAlbert Cervin
Also improve find file and switch buffer a bit. Implement word backward/forward.
2023-01-27Split out the frame allocatorAlbert Cervin
Used to be a part of main
2023-01-26More tests and documentationAlbert Cervin
Also, split out platform-specific parts and add mocks for tests.
2023-01-23Implement some more commandsAlbert Cervin
- More bug fixes for keys: You can now have mod-less keys in keymaps as binds. - Fix calculation bug with space fillouts.
2023-01-15Lots of fixes for rendering, utf-8 and kbd.Albert Cervin
2023-01-09More stuffAlbert Cervin
Render things and line numbers.
2022-12-21wip render reworkAlbert Cervin
2022-12-18Fixup utf-8 and meta handling in inputAlbert Cervin
2022-12-15Make minibuffer use an actual bufferAlbert Cervin
Also fix some issues with inserting multibyte chars.
2022-12-13Implement scrollingAlbert Cervin
Buffer now scrolls correcly when reaching top or bottom and puts dot at the middle of the screen.
2022-12-06Add minibufferAlbert Cervin
2022-11-27Implement the reactorAlbert Cervin
Currently only supports Linux through epoll.
2022-11-16🎉 And so it beginsAlbert Cervin