summaryrefslogtreecommitdiff
path: root/test/main.c
AgeCommit message (Collapse)Author
2025-01-21Fix buffer list not having stable ptrsAlbert Cervin
Was caused by using a vector that used realloc to grow. That only works sometimes. Now instead, the buffer list is a chunked linked list, i.e. a linked list where each element is a fixed size array.
2024-09-12WIP LSP clientAlbert Cervin
This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default.
2024-09-11Overhaul unicode parsingAlbert Cervin
It now instead iterates the actual unicode code points. This is better than what it was previously doing but it is still not entirely correct w.r.t to unicode sequences. This handling of unicode code points does however make it slightly easier to handle UTF-16 if needed in the future. This also adds some long needed tests for buffer methods.
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-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-01-29More tests and documentationAlbert Cervin
Also improve find file and switch buffer a bit. Implement word backward/forward.
2023-01-26More tests and documentationAlbert Cervin
Also, split out platform-specific parts and add mocks for tests.
2023-01-23Add more tests and documentationAlbert Cervin
Both doxygen and man page
2022-11-16🎉 And so it beginsAlbert Cervin