summaryrefslogtreecommitdiff
path: root/test/buffer.c
AgeCommit message (Collapse)Author
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.
2024-03-07Fix asan errorsAlbert Cervin
It found some really nasty ones :)
2024-02-14Improve word deletionAlbert Cervin
Now it only deletes the word under dot.
2023-10-19big buffer/buffer_view reworkAlbert Cervin
A buffer is only the text and the corresponding operation. A buffer view holds information about scroll, dot and mark positions. One way to think about it is that a buffer is stateless whereas a buffer view is stateful.
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-02-15Implement undoAlbert Cervin
This also fixes a bunch of valgrind errors
2023-01-31Implement mark and copy-pasteAlbert Cervin
Also fix some memory leaks
2022-12-15Make minibuffer use an actual bufferAlbert Cervin
Also fix some issues with inserting multibyte chars.
2022-11-16🎉 And so it beginsAlbert Cervin