From 9ca479ed40ceea29eb3b7949fb776e92e5f6e8dc Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 16 Jan 2020 20:52:01 +1100 Subject: [PATCH] Kakoune v2020.10.16 --- doc/pages/changelog.asciidoc | 5 ++++- doc/pages/hooks.asciidoc | 5 +++-- src/main.cc | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/pages/changelog.asciidoc b/doc/pages/changelog.asciidoc index 25a45aa406..615982ddb5 100644 --- a/doc/pages/changelog.asciidoc +++ b/doc/pages/changelog.asciidoc @@ -3,11 +3,14 @@ This changelog contains major and/or breaking changes to Kakoune between released versions. -== Development version +== Kakoune v2020.01.16 * Expose history tree through `$kak_history` and `$kak_uncommitted_modifications` +* `InsertCompletionHide` parameter is the list of inserted + ranges + == Kakoune 2019.12.10 * Arrow keys and ``, `` are not normal mode commands diff --git a/doc/pages/hooks.asciidoc b/doc/pages/hooks.asciidoc index 7597cb1cf4..2d9f0c08dc 100644 --- a/doc/pages/hooks.asciidoc +++ b/doc/pages/hooks.asciidoc @@ -164,8 +164,9 @@ name. Hooks with no description will always use an empty string. Triggered when the insert completion menu gets displayed *InsertCompletionHide* `completion`:: - Triggered when the insert completion menu gets hidden, the inserted - completion text is passed as filtering text. + Triggered when the insert completion menu gets hidden, the list of + inserted completions text ranges is passed as filtering text, in the + same format the `select` command expects. *RawKey* `key`:: Triggered whenever a key is pressed by the user, regardless of what mode diff --git a/src/main.cc b/src/main.cc index e3951e2ea9..dabbb7b2ab 100644 --- a/src/main.cc +++ b/src/main.cc @@ -44,6 +44,9 @@ struct { unsigned int version; StringView notes; } constexpr version_notes[] = { { + 20200116, + "» {+u}InsertCompletionHide{} parameter is now the list of inserted ranges" + }, { 20191210, "» {+u}ModeChange{} parameter has changed to contain push/pop " "{+ui}Mode{+u}Begin{}/{+ui}Mode{+u}End{} hooks were removed\n"