| Age | Commit message (Collapse) | Author |
|
Raise an error if the register is empty for paste-all
Fixes #4414
|
|
This is one of the issues raised by #4410
|
|
|
|
|
|
|
|
ARM uses @ as a comment character, so %progbits must be
used in place of @progbits here. This change fixes the
build on armv7 FreeBSD 13.0.
Fixes mawww/kakoune/issues#4385
See also https://bugs.freebsd.org/259434
|
|
|
|
The buffer whose path is under the main selection will be focused
after all others have been opened.
Closes #2164
|
|
This happens on termux for example.
|
|
Fixes #4391
|
|
|
|
Cppcheck produces the following warnings:
```
shared_string.hh:27:49: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour
shared_string.hh:27:49: error: Signed integer overflow for expression '1<<31'.
```
Fixes #4340
|
|
Cppcheck produces the following warning:
```
string_utils.cc:24:9: performance: Prefer prefix ++/-- operators for non-primitive types.
```
Fixes #4340
|
|
Cppcheck produces the following warning:
```
keymap_manager.hh:54:37: performance: Function parameter 'user_mode_name' should be passed by const reference.
```
Fixes #4340
|
|
Enable it if supported by default, let the user override it with
the existing terminal_synchronized ui option.
This should finalize work discussed on #4317
|
|
|
|
They are quite different use cases, and this allow moving InsertMode
to input_handler.hh which is what uses it.
This also cleans up the code as we can get rid of get_insert_pos and
rely more on SelectionList::for_each.
|
|
|
|
|
|
|
|
Grammar
|
|
|
|
|
|
|
|
This commit prevents `ga` from returning a “no last buffer” error
when the previously displayed buffer was removed.
Since the jumps list keeps track of the order in which buffers were
displayed already, handling arbitrary `delete-buffer`s as well,
cycle through it to implement `ga` instead of storing a pointer.
Note that this commit doesn't take into account buffer flags that
might exclude some buffers from being cycled over by commands.
Fixes #1840
|
|
|
|
|
|
expose that method so that various commands can take advantage of
it for performance or simplicity purposes.
|
|
|
|
|
|
terminal_synchronized ui_option now also controls this behaviour,
update out of date documentation for ui_options as well.
As discussed in #4317
|
|
|
|
|
|
|
|
Fixes #4353.
|
|
The current implementation allows users to declare mappings in the
`goto` and `view` modes with uppercase letters, but doesn't consider
case to be meaningful.
This quirk is also inconsistent as hitting an unmapped key will quit
the mode menu without complaints, but hitting a key that isn't in it
will work if it has a lowercase mapping equivalent.
Fixes #3976
|
|
|
|
Just validate if line changed or not. This should avoid flickering
on terminals such as the linux console that eagerly redraw on line
deletions. Unfortunately this means drawing will use more data and
might add a bit of latency on slow links.
Fixes #4317
Fixes #4320
|
|
|
|
|
|
kak-lsp uses these faces to mark errors inside the buffer, instead of the Error
face which is much more jarring, and which does not have an associated warning
face. Since the :spell command marks errors inside the buffer, it's also updated
to use this new face.
Adding these faces to Kakoune makes it more likely that colorschemes will
automatically do the right thing when used with kak-lsp, and makes it possible
to use a subtle appearance (like curly underlines) for in-buffer errors while
keeping Kakoune errors bold and jarring as they should be.
|
|
Add support for a third color in face definition that controls
the underline and a 'c' attribute for curly underline (that takes
precedence over 'u' if both are specified)
Allow empty colors to mean default, so that `,,red+u` means the
same as `default,default,red+u`
Fixes #4138
|
|
|
|
|
|
|
|
It seems nobody uses it, and it is not plugged through anyway.
Closes #2642
|
|
This does not seem necessary and simplifies the logic
|
|
This makes it unnecessary to allocate Vector<String> to insert and
allows to remove the insert_pos pointer hack by passing it to the
callback.
|
|
|
|
Preserve the active face accross lines
Fixes #4313
|