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

74 commits

Author SHA1 Message Date
Oliver Kiddle
4d89ec25f1 33575: reset vi change start position if text is inserted
before it or on history movement
2014-11-03 00:31:57 +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
72c666fb4f 33514: even with a named vi buffer, we should update the default buffer 2014-10-23 17:14:19 +02:00
Oliver Kiddle
a39c3adece 33512: add support for "0 vi buffer and yank to it 2014-10-23 17:00:31 +02:00
Barton E. Schaefer
31e2ae380a 32540: in doexpandhist(), discard saved line position data rather than restoring from it (updates 32531). 2014-04-13 01:26:07 -07:00
Oliver Kiddle
2cd3b9ab74 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on
Jun T: 32324, 32330), 32347, Jun T: 32344, 32349:
add split-undo zle widget for configurable breaks in undo sequence
2014-02-05 21:45:19 +01:00
Oliver Kiddle
a8c4ed64ee 32314: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again 2014-01-31 14:03:47 +01:00
Peter Stephenson
f77a7a5b18 31937: zle -Fw uses widget semantics for file descriptor handler 2013-11-07 15:19:07 +00:00
Peter Stephenson
cbe9371023 31922: zlecharasstring missed flip of bit 5 after Meta 2013-10-28 17:51:38 +00:00
Peter Stephenson
34ed3eaecd users/17318: only increment the undo variable return value for the
first request in a row
2012-10-09 16:27:11 +00:00
Peter Stephenson
0fda80344b users/17314: ensure an undo change number
uniquely specifies a point in editing history by incrementing
the value returned by the variable.
2012-10-09 14:57:13 +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
a5ff5b61a4 Jérémie Roquet: 29258: mark a couple more functions for export. 2011-05-13 11:59:05 +00:00
Peter Stephenson
d89361739a 29165: use term.h globally if needed at all. 2011-05-09 09:49:08 +00:00
Peter Stephenson
cc69ecfb9e 28886: Fix region_highlight dynamic updates for $PREDISPLAY 2011-03-11 10:33:33 +00:00
Peter Stephenson
212ca9edf9 28772: Update regions in region highlight dynamically 2011-02-18 22:08:45 +00:00
Peter Stephenson
459953f029 28671: better cursor positioning after undo 2011-02-11 19:32:21 +00:00
Peter Stephenson
8856dc878e 28282: new function zlecallhook()
fix arguments to zle-keymap-select
2010-09-20 09:27:46 +00:00
Peter Stephenson
b16923b096 27812: display invalid bytes in multibyte characters specially 2010-03-22 19:46:53 +00:00
Peter Stephenson
851663282a Greg Klanderman: 26159: fix appending of kills 2009-01-03 18:12:15 +00:00
Peter Stephenson
85c513894d 26047: convert lower levels of completion matching to use
multibyte strings and wide characters
2008-11-15 21:27:45 +00:00
Peter Stephenson
cca52d8edb unposted: Jun T.: fix backkill() calculation of charaters to kill 2008-04-24 10:18:59 +00:00
Peter Stephenson
a58d02fd2e 24860: better overwrite mode 2008-04-21 17:58:58 +00:00
Peter Stephenson
500c402380 24855: tests for combining char alignment should only be on metafied line 2008-04-21 10:13:30 +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
659bfee072 unposted: move zlefind() and zlecmp() into zle_hist.c 2008-04-11 11:38:06 +00:00
Peter Stephenson
2c5ea79f17 24782: initial go at highlighting of characters in zle command lines 2008-04-03 11:38:55 +00:00
Wayne Davison
9fb0f8dea2 Fixed two compiler warnings about comparing signed/unsigned. 2008-03-06 16:42:54 +00:00
Peter Stephenson
20607774dc 24275: fixes for multibyte characters on Solaris 2007-12-17 17:11:29 +00:00
Peter Stephenson
c6dfb2999d users/11419: zle copy-region-as-kill <string>
adds text to the kill ring
2007-04-19 14:16:22 +00:00
Peter Stephenson
006229c32e 22924: a couple more metafy_line()/unmetafy_line() problems 2006-10-30 14:13:36 +00:00
Bart Schaefer
d6a7f6f5ad Add two widges for user control of auto-suffix remove/keep. 2006-10-16 01:09:22 +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
Wayne Davison
78ddb65f6c Got rid of some superfluous STOUC() calls (such as the ones I added
for the arg of calls to nicechar(), which doesn't need this).
2006-01-13 17:13:49 +00:00
Wayne Davison
4867f99ef9 - When mbrtowc() returns -2 when given all the remaining chars in a
string, set an end-of-line flag and avoid calling mbrtowc() again
  for any of the incomplete characters that remain in the string.
- Use "mbs" for the multi-byte state variable name (for consistency).
- Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t
  -1 and -2 values (respectively).
2006-01-12 01:04:17 +00:00
Wayne Davison
00465c76fb Changed the name of the "ret" variable in mb_niceformat() to "cnt"
because "ret" is usually used for a variable name to hold the
return value of the function.  Also, changed the test when
checking for a \0 to only check if "cnt" is 0, since we must
always change a value of 0 to 1.
2006-01-09 17:58:57 +00:00
Wayne Davison
74b4973888 The return value of mbrtowc() is a size_t (unsigned), so don't
assign it to an int and then check if it's > 0, as that won't
work on a system where an int is larger than a size_t.  Also,
we needed to use STOUC() on a char value passed to nicechar().
2006-01-09 00:29:57 +00:00
Wayne Davison
c70dabb500 Changed zlelineasstring() and zlegetline() to each return a normal char
pointer, not an unsigned char pointer.  Changed stringaszleline() to
take a normal char pointer for its first arg.  Got rid of some
unsigned-char/char pointer casts.
2005-11-15 08:44:32 +00:00
Wayne Davison
781711e733 - One minor change to handle the ZLE_STRING_T change.
- A few brace-position twiddles.
2005-11-01 03:26:57 +00:00
Wayne Davison
e02e6d0a26 Fixed some compiler warnings about signed/unsigned comparisons. 2005-10-31 21:12:24 +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
2ddaeb605f 21890: fix segmentation error in left prompt truncation and a couple of minor
inconsistencies
2005-10-19 21:59:34 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Peter Stephenson
7f09a15a83 21603: wchar/multibyte conversion of cursor position when at end of line 2005-08-12 10:24:23 +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
8665549030 21541: remove some warnings from ZLE_UNICODE_SUPPORT 2005-07-28 14:45:32 +00:00