| Age | Commit message (Collapse) | Author |
|
- 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
|
|
Now handles negative line numbers to mean "from the end".
|
|
|
|
|
|
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.
|
|
Autocomplete is currently a POC and works only with find-file.
|
|
Mark rendering is now a lot simpler and uses "properties".
|
|
|
|
Currently a very simplistic parser that do not support all TOML
datatypes. Supported are:
- Tables
- Strings (incl multiline)
- Integers
- Inline Tables
- Booleans
- Comments
|
|
The buffer _can_ be bigger than 255
|
|
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".
|
|
|
|
- Enumerate windows on screen.
- Build with optimizations.
|
|
M-d for forward, M-D for backward
|
|
Also fix tests and man page install.
|
|
|
|
When for examplue using formatters or doing vc updates, it is useful
if the file is reloaded from disk.
|
|
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.
|
|
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
|
|
Undo was relying on buffer_goto being 0-indexed when it comes to lines,
whereas the new --line flag was not.
|
|
|
|
Now only supports BSD make.
|
|
Uses the settings system to implement a small system for per-language
settings.
|
|
Convenience macros for a hashmap and a growable vector.
|
|
Settings are a flat "dictionary" containing
paths to settings on the format:
<category>.<sub-category>.<setting>.
|
|
|
|
It did not take dot column into account.
|
|
|
|
|
|
This also fixes a bunch of valgrind errors
|
|
This means that empty lines are not added until they have content.
|
|
It was a non-needed limitation
|
|
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.
|
|
It would crash on multi-line copy.
|
|
Also fix some memory leaks
|
|
Also improve find file and switch buffer a bit.
Implement word backward/forward.
|
|
Used to be a part of main
|
|
Also, split out platform-specific parts and add mocks for tests.
|
|
Both doxygen and man page
|
|
- More bug fixes for keys: You can now have mod-less keys in keymaps as
binds.
- Fix calculation bug with space fillouts.
|
|
|
|
|
|
Render things and line numbers.
|
|
|
|
|
|
|
|
Also fix some issues with inserting multibyte chars.
|
|
Buffer now scrolls correcly when reaching top or bottom and puts dot at
the middle of the screen.
|
|
|
|
Currently only supports Linux through epoll.
|