1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-08 09:41:14 +02:00
Commit graph

60 commits

Author SHA1 Message Date
Daniel Shahaf
dd6e702ee4 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.)
2020-06-25 11:50:33 +00:00
Roman Perepelitsa
c551937280 44215: Maintain LASTWIDGET across reset-prompt.
This avoids side effects of asynchronous notifications.
2019-04-10 09:41:04 +01:00
Oliver Kiddle
50597692e0 43759: add support for true colour terminals 2018-11-05 22:24:12 +01:00
Jun-ichi Takimoto
5f33a93afb 42116: multibyte support for ZLE vi-mode word motion 2017-12-18 12:48:25 +09:00
Peter Stephenson
a6135f6114 41191: Check for immortal thingies when checking for specific thingies 2017-06-01 17:56:14 +01:00
Oliver Kiddle
cb5f100bd3 39986, 39989: improve handling of vi-repeat-change
Save previous vi change and throw away a new change that fails.
Add zle -f vichange to allow shell widget to be a single change.
Fix repeat of command where numeric arguments were multiplied.
2016-11-20 23:59:48 +01:00
Peter Stephenson
0c2d823a79 37337: Delay freeing widget until not in use. 2015-12-07 14:32:52 +00:00
Daniel Shahaf
8931e47b8d 36437: Document interaction of $region_highlight and $zle_highlight. 2015-09-07 21:17:40 +00:00
Oliver Kiddle
b4aff3bc52 35824: allow highlighting of just pasted text and put text from bracketed paste in cut buffers 2015-07-23 05:36:27 +02:00
Oliver Kiddle
6e57de8ee2 35637: remove the now unused module hook for reverse-menu-complete 2015-06-29 01:59:43 +02:00
Oliver Kiddle
edb9c94025 33950: ignore KEYTIMEOUT for vi operators 2014-12-12 14:14:00 +01:00
Oliver Kiddle
88f4e24d4c 33924: allow vi line/characterwise mode to be forced 2014-12-08 17:24:48 +01:00
Oliver Kiddle
fd302c9837 33570, 33576: make killring/yank-pop work in vi mode after
vi-put-before and vi-put-after
2014-10-30 21:52:36 +01:00
Oliver Kiddle
bdedf7b40b 33518: add support for "_ vi buffer and arguments to vi-set-buffer from a zle widget 2014-10-23 21:47:23 +02:00
Oliver Kiddle
a39c3adece 33512: add support for "0 vi buffer and yank to it 2014-10-23 17:00:31 +02:00
Peter Stephenson
2fc2bb7c17 31961: rationalise fd watching to use structure 2013-11-12 20:41:06 +00:00
Peter Stephenson
13a45d74eb users/16932: implement $UNDO_CHANGE_NO and argument to undo widget 2012-03-29 20:31:33 +00:00
Peter Stephenson
212ca9edf9 28772: Update regions in region highlight dynamically 2011-02-18 22:08:45 +00:00
Peter Stephenson
b16923b096 27812: display invalid bytes in multibyte characters specially 2010-03-22 19:46:53 +00:00
Peter Stephenson
e61af474c1 26876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARS 2009-04-24 09:00:29 +00:00
Peter Stephenson
3cf29e7513 24853: bits missed from patch 2008-04-20 21:19:52 +00:00
Peter Stephenson
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Peter Stephenson
1875c12734 24819: fix transposing characters and sneaky combination generation 2008-04-15 16:49:55 +00:00
Peter Stephenson
97dcf15556 24808: initial support for combining characters in zle 2008-04-13 16:58:42 +00:00
Peter Stephenson
2c5ea79f17 24782: initial go at highlighting of characters in zle command lines 2008-04-03 11:38:55 +00:00
Peter Stephenson
f368975eff users/11398: vi-goto-mark broken by multibyte support 2007-04-15 21:09:37 +00:00
Peter Stephenson
34381548da Incomplete improvements for $'...' in completion 2006-12-03 21:07:17 +00:00
Peter Stephenson
48d6402e65 rationalise mb<->wc conversions to use restartable form 2006-08-03 15:37:49 +00:00
Peter Stephenson
bb912594b2 22575: multibyte fixes for bslashquote(), getzlequery() 2006-08-01 21:28:04 +00:00
Peter Stephenson
50e9ab122b 22556: Multibyte separators and delimiters 2006-07-24 22:00:19 +00:00
Peter Stephenson
ef330a5dfd 22408: support for multibyte characters in patterns 2006-04-09 21:47:21 +00:00
Clint Adams
7b92878c24 thinko fix 2006-03-20 15:22:55 +00:00
Clint Adams
8294310202 22371: use only alphanumerics and underscores as word characters with vi bindings. 2006-03-20 14:40:36 +00:00
Wayne Davison
6698e6f676 Define ZS_memchr() as either wmemchr() or memchr(). 2006-02-09 22:12:54 +00:00
Peter Stephenson
e66af50a98 22014: argument-base, insert-unicode-char 2005-11-24 10:25:33 +00:00
Wayne Davison
0f0d610401 The non-multibyte version of ZWS() doesn't need to force a cast anymore. 2005-11-15 08:44:26 +00:00
Peter Stephenson
e366ca8dbf users/9638: tweaks for FCEDIT etc.
21986: rewrite completion suffixes for wide characters
2005-11-07 09:37:34 +00:00
Wayne Davison
ee324f449e Changed the non-wide version of: ZLE_CHAR_T into a "char" (formerly
an "int"), and ZLE_STRING_T into a "char *" (formerly an "unsigned
char *").
2005-11-01 03:26:51 +00:00
Wayne Davison
2c28e857f8 - Defined some new ZC_i<type> macros, such as ZC_ilower, ZC_inblank,
ZC_iupper, etc.
- Fixed ZC_iblank to not return true when given a newline.
2005-11-01 02:50:28 +00:00
Peter Stephenson
aea7715261 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
use multibyte versions of nicechar wherever possible.
2005-10-28 17:34:33 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Peter Stephenson
409296e22f 21736: improve tests for word and identifier characters with multibyte input 2005-09-20 15:10:26 +00:00
Peter Stephenson
d33c6e502a 21722: fix multibyte word stuff 2005-09-09 20:34:42 +00:00
Clint Adams
987033eaf9 21619: define wide versions of zarrdup, zputs, niceztrlen. 2005-08-15 17:19:16 +00:00
Wayne Davison
6e9f6bc7d1 For gcc, use static inline functions in place of the ZS_str*
macros so that we get type-checking without pointer-signedness
warnings.
2005-08-12 13:12:37 +00:00
Peter Stephenson
2a888b3d5a c.f. 21590: metafy_line()/unmetafy_line() now support wide characters 2005-08-10 10:56:40 +00:00
Peter Stephenson
f7ceca4fec 20869: more small Unicode tweaks 2005-02-25 15:10:01 +00:00
Peter Stephenson
ddd172ebe2 20863: fix history (i)searching for Unicode 2005-02-25 10:20:38 +00:00
Peter Stephenson
691dd7e529 20861: Fix statusline in Unicode, apart from isearch 2005-02-24 15:32:36 +00:00
Andrey Borzenkov
c4a4c1340a 20857: rewrite zle_refresh to use wide characters. 2005-02-23 16:29:56 +00:00