Peter Stephenson
de22f2bfa6
34919: update interrupt parse error for ZLE cases.
...
Covers both send-break and push-input.
2015-04-17 17:37:26 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
Combination of 12 commits from interrupt_abort branch.
Basic strategy is to introduce bits to errflag and to set and
reset them separately.
Remove interrupt status on return to main keymap.
Turn off ERRFLAG_INT for always block.
Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.
Add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.
Ensure propagation of SIGINT from exited job.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
Reset errflag before precmd()
Add always block in _main_completion to fix ZLS_COLORS
Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt. However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
Oliver Kiddle
b0a659e710
33845: save correct cursor position with push-line from vi command mode
2014-12-05 20:13:32 +01:00
Oliver Kiddle
13f3eec61d
33696: simple up/down line widgets that don't go through history lines
2014-11-15 21:31:29 +01:00
Oliver Kiddle
f62bd9c06c
32450: make get-line widget set the history number that was saved with the line
2014-03-03 12:17:28 +01:00
Mikael Magnusson
72cb7cfc6f
29307, 29308 + replies: Fix some doubled words in docs and comments.
2011-05-19 16:10:46 +00:00
Peter Stephenson
24e97ba046
28773: add zle-history-line-set widget
2011-02-18 22:34:29 +00:00
Peter Stephenson
0a5702457b
28510: add (z+c+) and (z+C+) parameter flags
2010-12-12 22:44:50 +00:00
Peter Stephenson
22899d3788
28285: zle-isearch-update and zle-isearch-exit
2010-10-06 08:25:28 +00:00
Peter Stephenson
443d873258
27926: fix completion suffix when inserting last word
2010-04-27 08:58:34 +00:00
Peter Stephenson
be2381eb52
27804: don't hang in isearch if invalid character found
2010-03-18 16:03:09 +00:00
Peter Stephenson
c88fd11377
Holger Weiss: 57248: fix anchoring for vi searches
2009-09-06 21:37:14 +00:00
Peter Stephenson
ea29159571
users/13902: make isearch return status useful
...
add LASTABORTEDSEARCH variable
2009-03-13 10:04:21 +00:00
Peter Stephenson
b7f4c91597
users/13903 fix vi search prompt and repeat
2009-03-13 09:58:14 +00:00
Peter Stephenson
46cdeb71b7
26366: add "isearch" keymap and "accept-search" functino
2009-01-19 17:57:43 +00:00
Clint Adams
787c86f68d
25949: remove dead code in getvisrchstr.
2008-10-30 01:47:32 +00:00
Peter Stephenson
1775a6ba81
25690: fix insert-last-word on multibyte characters with Meta
2008-09-18 20:35:37 +00:00
Peter Stephenson
4bed4f9d0f
24994: fix problem with up/down-line-or-search, perhaps
2008-05-11 18:37:34 +00:00
Wayne Davison
f7b2570e15
Locking simplification and signed/unsigned fixes.
2008-05-05 01:14:04 +00:00
Peter Stephenson
1424e923b1
24915: some more fix-ups for combining characters
2008-05-04 18:30:02 +00:00
Peter Stephenson
a8854f71eb
24900: add backward-kill-word behaviour to isearch
...
document isearch commands better
2008-05-01 11:33:02 +00:00
Peter Stephenson
f8220437f2
unposted: reset search line on anchored pattern isearch
2008-04-28 15:45:41 +00:00
Peter Stephenson
7462e3f978
unposted: more tweaks for failed isearch pattern matches
2008-04-28 11:35:54 +00:00
Peter Stephenson
be947a5606
24890: Matt Wozniski: reset skip_pos on backtracking in isearch
2008-04-28 10:56:42 +00:00
Peter Stephenson
bbcee91527
24886: fix endless loop in string isearch
2008-04-27 20:01:49 +00:00
Peter Stephenson
91a10708b2
24822: highlighting of isearch matches
...
unposted: not in NEWS that COMBINING_CHARS is not on by default
2008-04-26 22:52:50 +00:00
Peter Stephenson
3587f599b0
unposted: fix position of cursor on forward pattern searching
2008-04-26 21:26:28 +00:00
Peter Stephenson
1fc8484f05
24881: only feep once on an invalid pattern
2008-04-26 20:53:04 +00:00
Peter Stephenson
49d05f7476
feeping on a failed match could be mistimed
2008-04-26 20:40:18 +00:00
Peter Stephenson
35bbbbacb6
24879: unpleasantness at the pattern search line duplication test club
2008-04-26 20:27:39 +00:00
Peter Stephenson
234c6ed193
24878: add incremental pattern searches
2008-04-26 19:51:08 +00:00
Peter Stephenson
2cec7aae44
24861 (with tweaks): logic to use alternative wcwidth() if needed;
...
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +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
fe6d34f024
24816: some places where we need cursor alignment with combining characters
2008-04-14 14:57:52 +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
Clint Adams
8deb3e6c43
2381x: set vipenultsrchstr to NULL after freeing it to avoid vi-mode history search segfaults.
2007-09-13 10:14:56 +00:00
Peter Stephenson
80acfd135c
22684: improve getkeystring() interface and make printf do octal escapes
2006-09-10 18:10:48 +00:00
Wayne Davison
4cb83571c4
Changed some structures to avoid gcc's type-punned warnings.
2006-03-07 21:30:36 +00:00
Peter Stephenson
94953f70b9
22124: handle bad multibyte input better
2006-01-06 14:23:00 +00:00
Wayne Davison
a2e7cbe308
A slightly more optimal way to fix the zle_setline() bug using
...
the same zlecs-checking idiom as setline().
2005-12-12 18:35:47 +00:00
Wayne Davison
e0c9faba4d
Fixed problem in zle_setline() where moving to an empty line would
...
set zlecs to -1. (Reported by Jun T.)
2005-12-12 18:22:08 +00:00
Wayne Davison
e79af955f0
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:17 +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
05b6a23362
not yet posted; zle line screwed up on bad return from insertlastword()
2005-10-23 17:42:56 +00:00
Peter Stephenson
d9bb1a52c9
21764: unmetafication mangle zle history lines
2005-09-26 18:39:21 +00:00
Peter Stephenson
243539fa30
21610: Turn on ZLE_UNICODE_SUPPORT and fix a few related problems.
2005-08-15 10:01:47 +00:00
Wayne Davison
68f073faa2
Changed several instances of ZWC() used on a string to ZWS().
2005-08-11 18:40:53 +00:00
Peter Stephenson
2a888b3d5a
c.f. 21590: metafy_line()/unmetafy_line() now support wide characters
2005-08-10 10:56:40 +00:00