summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-31Make next-word stop at eolAlbert Cervin
It felt a little too greedy
2024-01-30Syntax highlight is a goAlbert Cervin
2024-01-26Fix clamp not handling negative locationsAlbert Cervin
2024-01-26Fix clamp using column instead of lineAlbert Cervin
2024-01-25Restore lazy row additionAlbert Cervin
2024-01-25Fix save empty buffer crashAlbert Cervin
It was assuming it could access the "last line".
2024-01-25Add final slash to find-file-relativeAlbert Cervin
2024-01-25Improve word navigationAlbert Cervin
Now behaves the way we want.
2024-01-24Relative find file and small fixesAlbert Cervin
- Save text was not always displaying - Files were sometimes not reloaded properly
2024-01-15Completion reworkAlbert Cervin
- Add support for building with clang Also fix some annoying bugs: - Visual column was wrong when using tabs - Add shift-tab for inserting an actual tab - Fix minibuffer sometimes having dot above it
2023-11-19Make goto line a bit more intelligentAlbert Cervin
Now handles negative line numbers to mean "from the end".
2023-10-19Fix search result scoreAlbert Cervin
2023-10-19follow-up fixes after refactoringAlbert Cervin
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-07-11Implement replace + autocompleteAlbert Cervin
Autocomplete is currently a POC and works only with find-file.
2023-06-01Simplify rendering and prepare for propsAlbert Cervin
Mark rendering is now a lot simpler and uses "properties".
2023-05-24Formatting changesAlbert Cervin
2023-05-24TOML settings parsingAlbert Cervin
Currently a very simplistic parser that do not support all TOML datatypes. Supported are: - Tables - Strings (incl multiline) - Integers - Inline Tables - Booleans - Comments
2023-05-18Fix too small index in keyboard codeAlbert Cervin
The buffer _can_ be bigger than 255
2023-05-11Fix write to file when no changesAlbert Cervin
A change of which file to write to was not considered a "change", thus not actually writing the file to disk since it was already "saved".
2023-05-11Fix some memory leaksAlbert Cervin
2023-05-11Fix languagesAlbert Cervin
- Enumerate windows on screen. - Build with optimizations.
2023-05-10Implement word deletionAlbert Cervin
M-d for forward, M-D for backward
2023-05-09Finish buflist implementationAlbert Cervin
Also fix tests and man page install.
2023-05-09Start of buflist implementationAlbert Cervin
2023-05-08Implement file reloadingAlbert Cervin
When for examplue using formatters or doing vc updates, it is useful if the file is reloaded from disk.
2023-05-01Implement buffer reloadAlbert Cervin
Currently only implemented on the buffer itself, and will discard any pending changes to the buffer. Idea is to use a command to detect that state and warn the user.
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-04-04Revamp makefilesAlbert Cervin
Now only supports BSD make.
2023-03-17Implement support for languagesAlbert Cervin
Uses the settings system to implement a small system for per-language settings.
2023-02-25Introduce vec and hashmapAlbert Cervin
Convenience macros for a hashmap and a growable vector.
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-16Make undo a bit more intuitiveAlbert Cervin
2023-02-16Fix kill-lineAlbert Cervin
It did not take dot column into account.
2023-02-15Fix newline handling againAlbert Cervin
2023-02-15Fix double freeAlbert Cervin
2023-02-15Implement undoAlbert Cervin
This also fixes a bunch of valgrind errors
2023-02-11Fix text to work more like GNU EmacsAlbert Cervin
This means that empty lines are not added until they have content.
2023-02-03Make sure text can have 0 linesAlbert Cervin
It was a non-needed limitation
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-31Fixes to copy-pasteAlbert Cervin
It would crash on multi-line copy.
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-23Add more tests and documentationAlbert Cervin
Both doxygen and man page
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