Commit Graph

4211 Commits

Author SHA1 Message Date
Maxime Coste
00673eba36 Handle more gracefully switches between different c-family filetypes 2016-03-03 19:28:58 +00:00
Maxime Coste
b7dd5056ba Tweak clang.kak 2016-03-03 19:28:45 +00:00
Alex Leferry 2
936bfcf0c8 add :alt command to jump to the alternate file (implementation ↔ test) 2016-03-03 18:56:50 +01:00
Alex Leferry 2
11153adcd8 Fix MIME type detection 2016-03-03 18:55:03 +01:00
Alex Leferry 2
25cd29dca4 add :alt command to jump to the alternate file (implementation ↔ test) 2016-03-03 18:53:04 +01:00
Maxime Coste
134be9a1f6 Just write to stderr when exceptions are uncaught 2016-03-03 14:05:07 +00:00
Maxime Coste
b5b5b82c70 destroy buffer manager first but clear clients before destroying buffers.
Fixes #612
2016-03-03 14:05:07 +00:00
Maxime Coste
f16bb36f41 Add a regression test for #612 2016-03-03 13:57:46 +00:00
Maxime Coste
24d4ee870f Fix test runner to consider Kakoune returning non 0 as a failure 2016-03-03 13:57:46 +00:00
Maxime Coste
67849f2db7 BufferManager should outlive ClientManager in the end
If not, clients end up keeping references on a buffer while
it it being deleted.
2016-03-02 20:27:47 +00:00
Maxime Coste
2df7b1f6da In buffer name completion, give priority to filename (not dirname) matches
First list filename matches, then full path matches to allow fast selection
of buffers in deep hierarchies where queries match the path of every buffers
2016-03-02 13:51:50 +00:00
Maxime Coste
6d5900af16 Use RankedMatch for filename based completion (file and command completion) 2016-03-02 13:51:16 +00:00
Maxime Coste
1fd7e80f04 Rename prefix to query in complete helper function and tweak static_assert 2016-03-02 13:33:11 +00:00
Maxime Coste
761d316af6 Tweak RankedMatch ordering, give priority to prefix matches 2016-03-02 13:30:54 +00:00
Maxime Coste
72dc8e6774 Ensure ClientManager is always outliving the BufferManager 2016-03-02 13:30:11 +00:00
Maxime Coste
068ca08b4c Use the general code path for reload info box handling in Client 2016-03-02 13:14:21 +00:00
Maxime Coste
13d039c228 Ensure the BufferManager is destroyed first so that buffer hooks can access other managers
Fixes #612
2016-03-02 13:12:14 +00:00
Maxime Coste
7906704e3b Remove code that should not have been commited 2016-02-29 22:16:59 +00:00
Maxime Coste
2214421df5 Use a StringView in notify_fatal_error 2016-02-29 22:15:36 +00:00
Maxime Coste
92b56cbda0 Avoid a gcc warning in enum option_to_string impl 2016-02-29 20:15:23 +00:00
Maxime Coste
b0e12f2bcb Add <C-d> and <C-u> for scroll down/up half a page
Fixes #606
2016-02-29 14:00:09 +00:00
Maxime Coste
1138264a83 Notify when searching for next match wraps around buffer
Fixes #215
2016-02-29 13:50:18 +00:00
Maxime Coste
9b70346a00 Take subsequence matches index when sorting RankedMatch 2016-02-28 23:05:51 +00:00
Maxime Coste
f8e64ba29f Jedi: add a jedi_python_path str-list option 2016-02-28 18:48:59 +00:00
Maxime Coste
548e10597c Code cleanup 2016-02-28 18:30:35 +00:00
Alex Leferry 2
aa39380f4b Fix MIME type detection 2016-02-28 17:57:38 +01:00
Maxime Coste
4ee93c1f85 Merge remote-tracking branch 'alexherbo2/moon-rc' 2016-02-27 17:37:13 +00:00
Maxime Coste
e63781819c Merge remote-tracking branch 'alexherbo2/ruby-rc' 2016-02-27 17:37:08 +00:00
Maxime Coste
3987463e75 Remove direct access to ui, go through client
Client can now update menu/info positions when the window move
around.
2016-02-27 17:23:13 +00:00
Maxime Coste
f0edf40543 Slight refactor in ncurses_ui, group info and menu data in structs 2016-02-27 17:22:31 +00:00
Alex Leferry 2
88cf7a216c Fix highlighting of single letter identifiers 2016-02-27 17:53:16 +01:00
Alex Leferry 2
1c61e2fc41 add rc/moon.kak 2016-02-27 17:46:39 +01:00
Alex Leferry 2
6ec14030ad Fix escaping of ' in single quote strings 2016-02-27 14:18:16 +01:00
Maxime Coste
a25e46f1eb Add autoindentation in makefile.kak, based on PR #582 by lenormf
Closes #582
2016-02-24 22:26:54 +00:00
Maxime Coste
6cbc97900b Add editorconfig.kak by Enrico Lumetti
Closes #514
2016-02-22 23:11:20 +00:00
Maxime Coste
060eb81aea Merge remote-tracking branch 'alexherbo2/markdown-rc' 2016-02-22 23:08:17 +00:00
Maxime Coste
53821be7cc Tweak RankedMatch::operator< 2016-02-22 23:07:29 +00:00
Benoît Laurent
f1b48d0b3c Add some info about regex syntax 2016-02-22 22:22:05 +01:00
Benoît Laurent
edce759d88 Use a link to Boost.Regex that always point to latest release 2016-02-22 22:17:02 +01:00
Alex Leferry 2
1b3554c943 support auto-linked email address 2016-02-19 12:31:36 +01:00
Maxime Coste
ab20e2e5eb Merge remote-tracking branch 'lenormf/manpage' 2016-02-18 19:24:22 +00:00
Frank LENORMAND
c90dafcbfb Document the | register, as well as default registers saved by exec/eval 2016-02-18 14:57:23 +02:00
Frank LENORMAND
d317448407 Disable interactive mode when moving documentation manpages 2016-02-18 14:53:14 +02:00
Maxime Coste
fbb326173a Tweak utils.hh, remove unused index sequence 2016-02-18 09:53:01 +00:00
Maxime Coste
47df1374fe Refactor use selection as search pattern implementation 2016-02-17 23:40:14 +00:00
Maxime Coste
85a8a0c26d Fix count_word_boundaries_match 2016-02-17 23:05:08 +00:00
Maxime Coste
c9f01e2168 Hide info box when selecting empty insert completion 2016-02-17 23:03:22 +00:00
Frank LENORMAND
e74878c299 Cleanup/fix some code 2016-02-17 16:09:34 +02:00
Frank LENORMAND
ac08a1fa75 Format the options' documentation properly 2016-02-17 16:02:05 +02:00
Frank LENORMAND
72cfa65448 Document the BufferPadding face 2016-02-17 15:55:19 +02:00