From dd6e702ee49c7292c39037843b1b1b2b080f9fda Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 25 Jun 2020 11:41:21 +0000 Subject: 46068 (tweaked) (was: github #57): region_highlight: Add memo= support. This is useful when multiple plugins add region_highlight entries and subsequently want to remove only their own entries. Without this functionality, recognizing one's region_highlight entries is not trivial because the 'start' and 'end' offsets are modified by editing of $BUFFER and the highlight specification may not be unique or distinctive. The tweaks are as follows: - Change zfree() to zsfree() per workers/46070. - Remove the mem.c hunk, as it changed the signature of only one out of two alternative definitions of zsfree(). (The definition that hunk touched is the one that's not used by default.) --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f55891b47..f530ab1eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2020-06-25 Daniel Shahaf + * 46068 (tweaked) (was: github #57): Doc/Zsh/zle.yo, README, + Src/Zle/zle.h, Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c, + Src/prompt.c, Test/X04zlehighlight.ztst: region_highlight: + Add memo= support. + * 46102: Test/ztst.zsh: test harness: Make the XPass message distinct from the Fail message. -- cgit 1.4.1