Maxime Coste
b575067317
Add <a-o> and <a-O> to add lines below/above selections
...
Fixes #1480
2017-07-11 09:03:45 +09:00
Delapouite
0d2b303f62
Docs: add missing colon register (last entered command)
2017-07-10 22:05:21 +02:00
Maxime Coste
c38dc9a37b
Merge remote-tracking branch 'Delapouite/alt-r'
2017-07-09 22:29:05 +09:00
Delapouite
f917402f89
Docs: add missing <a-R> key and fix info message
2017-07-09 12:00:28 +02:00
Maxime Coste
50e26a2bac
Remove assert in String::String(Codepoint, ColumnCount)
...
codepoint_width is locale dependent, and we could end up with it
returning a different value depending on the locale. It is better
to return a string of the wrong column length than fail on assert
in this case as we cannot fix it anyway.
Fixes #1489
2017-07-09 11:03:04 +09:00
Maxime Coste
52c8dc9d09
Highliight git MERGE_MSG files as commit messages
2017-07-08 13:39:48 +09:00
Maxime Coste
822225cbbb
Merge remote-tracking branch 'lenormf/fix-tupfile'
2017-07-08 13:39:22 +09:00
Maxime Coste
051054c812
Merge remote-tracking branch 'lenormf/fix-c-family'
2017-07-08 13:36:55 +09:00
Maxime Coste
7a28e4c5c0
Fix trailing whitespaces in README
2017-07-08 13:34:30 +09:00
Maxime Coste
dbba047a8a
Merge remote-tracking branch 'Delapouite/prompt-idle'
2017-07-08 13:33:44 +09:00
Maxime Coste
ad1dad9d04
Merge remote-tracking branch 'Delapouite/extend'
2017-07-08 13:32:11 +09:00
Maxime Coste
8cad40a0c9
Merge remote-tracking branch 'Delapouite/stars-less'
2017-07-08 13:31:17 +09:00
Maxime Coste
b51d19bfaa
Formatting fixes
2017-07-07 13:59:53 +09:00
Maxime Coste
6604aa66f7
Treat non printable characters as zero-width instead of -1 width
...
This fix a bug when opening a file where a line has a lot of unprintable
chars (like a binary file) which was confusing Kakoune into considering
that the line length in column was negative.
2017-07-07 10:57:32 +09:00
Delapouite
9254363673
Make register and completion autoinfo lists uniform with all the other ones
2017-07-06 18:47:02 +02:00
Delapouite
b3f2a7e46e
Refine info titles to distinguish f/t (select) and F/T (extend)
2017-07-05 20:23:02 +02:00
Delapouite
8ed29dbd7a
Docs: add missing PromptIdle hook mentions
2017-07-05 13:45:45 +02:00
Frank LENORMAND
50b635ce2d
rc c-family: Add a hook to the insert group
2017-06-29 13:29:48 +03:00
Frank LENORMAND
a2be15801f
rc tupfile: Fix the keywords regex
2017-06-29 13:13:01 +03:00
Frank LENORMAND
e1e3cfaf45
contrib Tupfile: Adapt to upstream changes
2017-06-29 13:12:49 +03:00
Maxime Coste
620e718087
Formatting tweak
2017-06-29 09:31:02 +01:00
Maxime Coste
eb2984807c
Remove some dead code
2017-06-29 07:43:20 +01:00
Maxime Coste
e95fab0e7a
Code style tweak
2017-06-29 07:36:07 +01:00
Maxime Coste
14958a7c94
Validating an empty command in prompt reruns the last command
...
This is more consistent with other prompts like regexes or shells,
and has proven useful from time to time.
2017-06-29 07:33:16 +01:00
Maxime Coste
9bbab690ba
Merge remote-tracking branch 'danr/Expose-last-entered-command-in-register'
2017-06-29 07:29:32 +01:00
Maxime Coste
cc946764ed
Consider non-files buffers as never modified
2017-06-28 06:48:24 +01:00
Maxime Coste
641acc5943
Do not allow repeating last insert when we are not in normal mode
...
<a-;>. is not accepted anymore. Note that <a-;> are not repeatable
currently anyway (That could be fixed, athough not trivial).
Fixes #1469
2017-06-27 09:57:10 +01:00
Maxime Coste
ce8078ad73
Ensure cursor stays visible with wrapped line bigger than window
...
Fixes #1459
2017-06-27 09:29:25 +01:00
Maxime Coste
169426dc3c
Merge remote-tracking branch 'Delapouite/hook-expansions'
2017-06-26 22:05:23 +01:00
Delapouite
a932b6b21e
Add error message when using format command with no formatcmd specified
2017-06-26 22:10:04 +02:00
Delapouite
21e8da7c37
Docs: add more details about hooks
2017-06-26 18:50:22 +02:00
Maxime Coste
e9c0c05548
Fix reference highlighter not forwarding compute_display_setup
2017-06-26 16:50:12 +01:00
Maxime Coste
475e8849a1
Fix replacing last eol with a single eol
2017-06-26 16:16:46 +01:00
Maxime Coste
f41d78083a
Use the extra_word_chars option in word based normal commands
...
the completion_extra_word_chars is now gone, superseeded by
extra_word_chars that gets used both for completion and for normal mode.
Fixes #1304
2017-06-26 15:28:41 +01:00
Maxime Coste
dc378aed72
Pass a context instead of just the buffer to selector functions
2017-06-26 14:56:50 +01:00
Maxime Coste
477f0700f0
Remove useless Vector, use a ConstArrayView instead
2017-06-26 14:40:01 +01:00
Maxime Coste
268c214f56
Change completion_extra_word_char to be a list of codepoints instead of a string
2017-06-26 14:39:17 +01:00
Maxime Coste
1a64ba18d3
Always use the base LineNumber face for the line number separator
...
Fixes #1431 as we can now just hide the wrapped line numbers by
setting the LineNumberWrapped foreground and background to the
LineNumber background.
2017-06-26 13:45:56 +01:00
Maxime Coste
f788333778
Formatting fix
2017-06-26 12:18:02 +01:00
Maxime Coste
4864c8cecb
Disable -Wunknown-attributes
2017-06-26 11:27:35 +01:00
Maxime Coste
4e7a357a47
Fix various undefined behaviours detected by UBSan
2017-06-26 11:27:18 +01:00
Maxime Coste
8a2ece78b7
Remember count when repeating last insert
...
Fixes #1465
2017-06-25 07:25:31 +01:00
Maxime Coste
718adc9c88
Merge remote-tracking branch 'lenormf/fix-formatter'
2017-06-25 07:22:34 +01:00
Maxime Coste
c6eddefb0d
Slight code refactoring and perf improvement in vector option to string
2017-06-24 12:24:24 +01:00
Frank LENORMAND
6376aa6206
rc formatter: Make sure the formatter returned successfully
...
The previous implementation used to replace the contents of the buffer with
whatever the `formatcmd` was returning, regardless of the exit code of the
command, which led to the buffer being wiped out on error.
This commit does the formatting in a temporary file, and only replaces the
current buffer with the contents of the -formatted- temporary file if the
`formatcmd` returned successfully.
Fixes #1357
2017-06-23 15:12:23 +03:00
Maxime Coste
dc1b039282
Add ctags command renaming info in the startup message
2017-06-23 10:23:26 +01:00
Maxime Coste
45ac100c21
Merge remote-tracking branch 'lenormf/fix-ctags-command-names'
2017-06-23 10:22:15 +01:00
Maxime Coste
430e4495f0
Merge remote-tracking branch 'nuao/autoshowcompl_opt'
2017-06-23 10:20:34 +01:00
Maxime Coste
9d4f5a49e0
Merge remote-tracking branch 'lenormf/debug-commands'
2017-06-23 10:19:45 +01:00
Maxime Coste
806d885eaf
Do not set idle timers when running in a transient context
2017-06-23 10:01:24 +01:00