Maxime Coste
2f799b1acf
NCurses: Tolerate failure to open /dev/tty and to ioctl for resize
...
Not sure what to do when that happens, but asserting and quitting
is not necessarily the best option, try to tolerate it.
Fixes #1972
2018-04-04 14:01:24 +10:00
Maxime Coste
6ee60ff9d7
Prompt: add <a-!> to expand the typed expansions in current line
...
Fixes #1952
2018-04-04 11:00:25 +10:00
Maxime Coste
e6a9e14872
markdown.kak: Do not use regions for single/double ` spans
...
Using a region for them breaks any other regex based highlighter
we would want to apply on top of them.
Fixes #1870
2018-04-04 07:40:03 +10:00
Delapouite
f2837442fc
Docs: fix asciidoc list formatting issue
2018-04-03 13:33:30 +02:00
Maxime Coste
e128c05213
Merge remote-tracking branch 'Delapouite/fifo'
2018-04-03 20:00:28 +10:00
Delapouite
2b457c62b2
Docs: add short mention about "named pipe" in fifo section
2018-04-03 10:20:56 +02:00
Maxime Coste
895ec93b5c
coding-style.asciidoc: Update to C++14 and add a few more guidelines
2018-04-03 09:45:08 +10:00
Maxime Coste
ff073bcce1
Merge remote-tracking branch 'lenormf/fix-ncurses'
2018-04-01 14:42:44 +11:00
Maxime Coste
4043b552ee
Merge remote-tracking branch 'lenormf/fix-doc'
2018-04-01 10:13:19 +11:00
Maxime Coste
ea66465144
Restore previous status line after notifying wait for shell
...
Fixes prompt getting erased by the wait for shell message, and
having to manually trigger a redraw to see it again.
2018-04-01 10:08:54 +11:00
Frank LENORMAND
e06d048d2f
src: Make code more readable, assert function calls that shouldn't fail
...
Should help clarify what the issue is in #1972 .
2018-03-31 15:00:19 +03:00
Frank LENORMAND
566dc1f26b
doc highlighters: Don't hardcode timestamps
2018-03-31 09:18:59 +03:00
Maxime Coste
0baf562c93
Support full redraws during shell execution and handle resize there
...
Fixes #1973
2018-03-30 09:58:18 +11:00
Maxime Coste
510be03910
ctags.kak: Fix compatibility with OSX by using custom realpath implementation
2018-03-30 09:30:18 +11:00
Maxime Coste
8eee5500ea
Revert "Simplify comment-line command using trimming primitive"
...
This reverts commit e661fece72
.
2018-03-30 09:29:05 +11:00
Maxime Coste
f6f2dafaf7
Make set -add replace existing value when applied to a map option
2018-03-30 09:26:39 +11:00
Maxime Coste
436e803e30
Merge remote-tracking branch 'Delapouite/readme'
2018-03-30 09:20:13 +11:00
Maxime Coste
31adbb5a93
Merge remote-tracking branch 'Delapouite/ctrl-u'
2018-03-30 09:19:56 +11:00
Maxime Coste
4a2125f752
make.kak: Fix Ninja compatibility for directory entering messages
2018-03-30 09:18:06 +11:00
Delapouite
7f3a308b60
Add status message when commiting an undo group in insert mode
2018-03-29 22:54:03 +02:00
Delapouite
3b3aaa6141
Docs: change rotation keys in README
2018-03-29 14:18:16 +02:00
Maxime Coste
fab3dc642a
Merge remote-tracking branch 'Delapouite/on-key'
2018-03-28 21:41:17 +11:00
Maxime Coste
ebc700ee17
Fix uninitialized m_empty_text StringView in LineEditor
2018-03-28 20:48:50 +11:00
Delapouite
1b7b3fea09
Fix typo in on-key command description
2018-03-28 07:33:43 +02:00
Maxime Coste
fccb1bc3db
Merge remote-tracking branch 'Delapouite/comment'
2018-03-28 08:27:46 +11:00
Delapouite
e661fece72
Simplify comment-line command using trimming primitive
2018-03-27 19:53:13 +02:00
Delapouite
fc3f0f40b7
Give more hints in "option not found" error.
2018-03-27 19:14:41 +02:00
Delapouite
ed677d2f05
Docs: update trampoline with new rotation primitives
2018-03-27 19:00:49 +02:00
Maxime Coste
726dd8f0d8
Merge remote-tracking branch 'Delapouite/docs'
2018-03-27 22:37:06 +11:00
Maxime Coste
1f6c2b87ff
Support count in <a-s> to split on groups of n lines
...
Fixes #1966
2018-03-27 22:33:58 +11:00
Delapouite
153fbdcc33
Docs: add missing *
for -buffer switch of exec/eval
2018-03-27 08:21:31 +02:00
Maxime Coste
e8093a12a0
Simplify command debug code
2018-03-27 08:25:47 +11:00
Maxime Coste
0a833371ab
Prompt: Do not call callback in on_enabled
...
Schedule it for later, when we get "idle". It currently can lead to
crashed because after the callback, the current mode might be different,
leading to a crash when doing the ModeChange hook call.
2018-03-27 07:40:44 +11:00
Maxime Coste
3d3a37a80c
Fix 'O' not putting the cursor on the correct line
2018-03-27 07:28:25 +11:00
Maxime Coste
253790be51
Formatting fix
2018-03-26 19:50:51 +11:00
Maxime Coste
5ba27c18a4
Fix operator priority order error
2018-03-26 19:19:47 +11:00
Maxime Coste
e9e83cdb8d
Merge remote-tracking branch 'lenormf/fix-kakrc'
2018-03-26 07:47:59 +11:00
Maxime Coste
59c883d02f
Avoid visiting the same directory multiple times in insert filename completion
2018-03-25 20:28:26 +11:00
Maxime Coste
6d3fe30bf6
Allow explicit filename completion with empty prefix
2018-03-25 19:03:54 +11:00
Maxime Coste
6f48fb0be3
Merge remote-tracking branch 'lenormf/fix-json-ui-doc'
2018-03-25 18:56:13 +11:00
Maxime Coste
f236e837f4
Merge remote-tracking branch 'lenormf/fix-d'
2018-03-25 18:54:52 +11:00
Frank LENORMAND
1bf0ea4b46
doc json_ui: Document the refresh
request
2018-03-25 10:29:21 +03:00
Frank LENORMAND
66f99a3802
rc kakrc: Highlight boolean values
2018-03-25 10:27:12 +03:00
Frank LENORMAND
757e9de1c8
rc d: Improve D highlighting
2018-03-25 10:25:52 +03:00
Maxime Coste
a6b1d142fa
Cleanup client name validation code
2018-03-25 16:53:27 +11:00
Maxime Coste
49c52b025f
Remove contains_that and use any_of to be closer to the c++ stdlib
2018-03-25 16:47:19 +11:00
Maxime Coste
435b5b7ff9
Unify code that validates identifiers in Kakoune
...
Session/Client/User modes names are now requiered to be "identifiers"
they must be in [a-zA-Z0-9_-]. Option names are the same except they
do not allow '-' as they need to be made available through the env vars
and '-' is not supported there.
Fixes #1946
2018-03-25 16:35:33 +11:00
Maxime Coste
2d85e94516
Fix uses of rotate selection in rc/ files
2018-03-25 11:45:27 +11:00
Maxime Coste
beb2cef7f9
Document rotate selection breaking change in startup message
2018-03-25 11:39:26 +11:00
Maxime Coste
ec7f3738ee
Move rotate selection and rotate selection contents to ) and <a-)>
...
Backward rotation are supported with (.
Fixes #1210
2018-03-25 11:39:26 +11:00