Maxime Coste
170c4a9cf1
Merge remote-tracking branch 'Screwtapello/document-mark-registers'
2019-12-10 21:05:26 +11:00
Frank LENORMAND
fde2550478
rc git: Highlight commands differently from pick
...
The `pick` command in a rebase commit is virtually a no-op, but other
commands actually do things. This commit visually communicates
that fact.
Fixes #3208 .
2019-12-08 13:49:53 +01:00
Maxime Coste
15df0fc781
Add -scratch and -file switches to the rename-buffer command
2019-12-07 15:40:57 +11:00
Maxime Coste
42094209fd
Update New flag and last save timestamp on buffer rename
...
Fxies #3244
2019-12-07 15:40:55 +11:00
Tim Allen
31162bdbb7
registers.asciidoc: Document the format of marks.
2019-12-06 20:01:30 +11:00
Tim Allen
3a23fdf15a
registers.asciidoc: I don't think selections have captured groups.
2019-12-06 20:01:07 +11:00
Tim Allen
1fffd38b56
registers.asciidoc: Link from registers back to the keys that use them.
2019-12-06 18:41:27 +11:00
Maxime Coste
023a65eeac
Optimize regex in command
2019-12-05 21:11:12 +11:00
Maxime Coste
1ec14ea826
Merge remote-tracking branch 'dpercy/patch-1'
2019-12-05 21:10:43 +11:00
Maxime Coste
eb5af59d55
Restore regex optimization pass by introducing basic block analysis
...
Run the peephole optimizer on each basic block, avoiding the
previous issue that some instructions could move across their
boundaries.
2019-12-05 21:10:14 +11:00
Maxime Coste
d539e8fb89
Do not decode utf-8 when looking for regex next start
...
There is no need to decode as we know any non-ascii characters will
be treated as Other in the StartDesc.
2019-12-04 22:33:11 +11:00
Maxime Coste
ee2985739b
Merge remote-tracking branch 'lenormf/window-range'
2019-12-04 21:16:11 +11:00
Maxime Coste
5c5d881c11
Merge remote-tracking branch 'lenormf/reload-buffer-hash'
2019-12-04 21:14:15 +11:00
David Percy
e8a7b06388
Typo: "escaped with a backspace" -> backslash
2019-12-03 19:44:08 +00:00
David Percy
22428211f3
David Percy Copyright Waiver
...
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2019-12-03 19:44:08 +00:00
Frank LENORMAND
e1bd076f5e
src: Reload buffers when their contents' hash changes
...
Instead of triggering a reload event when the timestamp of a buffer's
underlying file changes, do so when its contents are actually modified.
2019-12-03 17:05:24 +01:00
Maxime Coste
0b66aa8dda
Document that fg face is optional
2019-12-03 21:17:33 +11:00
Maxime Coste
36dce6a2d0
Merge remote-tracking branch 'lenormf/split-json'
2019-12-03 21:13:35 +11:00
Maxime Coste
6c3980190d
Merge branch 'packaging-status' of http://github.com/tim77/kakoune
2019-12-03 21:12:01 +11:00
Maxime Coste
5c1433ee65
Merge remote-tracking branch 'Laaas/patch-1'
2019-12-03 21:11:14 +11:00
Maxime Coste
b5baac4336
Merge remote-tracking branch 'lenormf/fix-doc-face-base'
2019-12-03 20:59:40 +11:00
Maxime Coste
a6a5d866a5
Merge remote-tracking branch 'somasis/master'
2019-12-03 20:59:33 +11:00
Las
df9995b216
Recognize .mjs files as javascript files
...
.mjs is the extension for javascript modules
2019-12-03 15:05:40 +09:00
Frank LENORMAND
d32a660863
src: Document the base face syntax in :set-face
2019-12-02 11:37:31 +01:00
Maxime Coste
0749ec9b9d
Merge pull request #3236 from lenormf/fix-build-diff
...
src: Fix the build on Mac
2019-12-02 10:06:32 +11:00
Frank LENORMAND
63092d12c0
src: Fix the build on Mac
...
When compiled on Mac with `clang`, the following error occurs at
compile-time:
```
./diff.hh:56:28: error: no member named 'min' in namespace 'std'
const int max_D = std::min((M + N + 1) / 2 + 1, cost_limit);
~~~~~^
```
2019-12-01 21:55:55 +01:00
Maxime Coste
2623366514
Pass inserted text ranges in InsertCompletionHide hook parameter
...
Fixes #2898
2019-12-01 21:05:02 +11:00
Kylie McClain
dc1cf24846
buffer.hh: Fix building on musl+libc++
...
Fixes #3233 .
2019-11-29 22:58:36 -05:00
Maxime Coste
4fdbf21ff8
Refactor diff to make allocating a diff vector optional
...
The diff interface now goes through a for_each_diff function that
uses a callback for each found diff.
2019-11-30 11:29:36 +11:00
Artem Polishchuk
af6acfc3ab
Update Fedora installation info
...
Add RHEL/CentOS 8 installtaion info
2019-11-29 08:47:05 +02:00
Maxime Coste
b765fb4971
Merge remote-tracking branch 'lenormf/fix-mmap-size-check'
2019-11-28 20:35:52 +11:00
Maxime Coste
805675b731
Merge remote-tracking branch 'jcpetruzza/syntax-terraform'
2019-11-28 20:35:16 +11:00
Maxime Coste
b19dae13fc
Merge remote-tracking branch 'lenormf/fix-clang-autocomplete'
2019-11-28 20:34:17 +11:00
Maxime Coste
085e7dd09e
Merge remote-tracking branch 'lenormf/patch-2'
2019-11-28 20:32:16 +11:00
Maxime Coste
2904d13420
Add a {\} marker to disable markup processing
2019-11-28 20:23:52 +11:00
Frank LENORMAND
7a384edeb0
src: Check the filesize before calling mmap()
2019-11-26 13:26:31 +01:00
Maxime Coste
fc9e0e8c6a
Fix small info text not being displayed
2019-11-26 22:08:05 +11:00
Maxime Coste
a933cae7b9
Merge remote-tracking branch 'lenormf/complete-expansion-reg'
2019-11-26 21:35:05 +11:00
Maxime Coste
9716c7c82d
Merge remote-tracking branch 'lenormf/complete-expansion-file'
2019-11-26 21:34:22 +11:00
Maxime Coste
2f8100b362
Merge remote-tracking branch 'lenormf/fix-3226'
2019-11-26 21:33:49 +11:00
Maxime Coste
d9af1e8f34
Tweak palenight colorcheme MenuInfo face
2019-11-26 21:33:27 +11:00
Maxime Coste
8691ee8d4a
Modularize r file support
2019-11-26 21:32:52 +11:00
Maxime Coste
2209b5d415
Improve perl regex and qq string highlighting
2019-11-26 21:32:52 +11:00
Frank LENORMAND
7512f5eae6
src: Use begin()
to get iterators
...
When compiling the code with `-Wp,-D_GLIBCXX_ASSERTIONS`, the process
gets aborted, likely because iterators to standard containers are
not obtained in a safe way.
Fixes #3226 .
2019-11-25 11:34:39 +01:00
Maxime Coste
7b3ab23780
Add a regression test for #3219 , which does not seem to fail
2019-11-24 18:11:29 +11:00
Maxime Coste
8528dcd621
Fix test/run ui_out diff display
2019-11-24 18:11:29 +11:00
Maxime Coste
6f087e899b
Complete rename-buffer with filenames
...
Fixes #3215
2019-11-24 18:11:29 +11:00
Maxime Coste
6fd486c65e
Replace tab characters with spaces in info/echo
...
This is tricky to fix better than that as tabs make text length
dependent on where it will get displayed and what preceedes it.
Also fix an issue with empty info title
Fixes #2237
2019-11-24 18:11:29 +11:00
Maxime Coste
34f48cc851
Rework ncurses info display, crop content when overlflowing
...
Optmize the code to avoid allocating like crazy, unify various
info style rendering, crop content and display markers that there
is more text remaining.
Fixes #2257
2019-11-24 18:11:29 +11:00
Maxime Coste
19e1be8e0d
Make wrap_lines a lazy range view
...
Avoid the need to allocate a vector by using the ranges
framework.
2019-11-23 21:50:58 +11:00