Peter Stephenson
8ae8fae400
31644: Fix insertion of multibyte characters into editor line.
...
This was broken for a string that came from outside ZLE in the case
where the editing buffer wasn't metafied, i.e. not in completion.
2013-08-08 20:10:06 +01:00
Peter Stephenson
0b185e3dcd
users/17908: Keep history line in sync between ZLE and shell.
...
Update ZLE version if history is read, pushed or popped with ZLE active
2013-08-08 19:48:11 +01:00
Peter Stephenson
568e0db7a9
31611: attempt to fix crash completing redirection in do loop
2013-08-02 18:58:35 +01:00
Mikael Magnusson
d904e85904
31483: Call zrefresh() before unqueue()ing signals
...
Not doing so causes problems for example with this .zshrc
zle -N zle-line-init foo
zle -N set-local-history bar
foo() { zle set-local-history -n 1 }
bar() { zle reset-prompt }
2013-06-27 13:02:23 +02:00
Bart Schaefer
d19e18c68d
31350: block SIGWINCH nearly all the time, except
...
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-30 00:08:49 -07:00
Bart Schaefer
fa7c51971d
31272: Avoid double free, get_compctl should not free its arguments.
2013-04-20 08:40:18 -07:00
Frank Terbeck
daf4f19c3f
31172: Let vared define custom init and finish hooks
...
Using this, you can do things like this in a more straight-forward
manner:
foo-init() { CURSOR=0; }
zle -N foo-init
foo=$'Some longer\nbuffer with\nmultiple lines.'
vared -i foo-init foo
2013-04-05 17:23:45 +02:00
Frank Terbeck
6654b87b45
31174: zle: Make sure state changes are refreshed after init hook
...
If `zrefresh' is not called _after_ the zle-line-init hook, any changes
made to the editor's state (be it changes to $CURSOR or $BUFFER or
called widgets like `clear-screen') will only be picked up after the
first character is typed into the editor.
2013-04-05 17:23:45 +02:00
Peter Stephenson
b6f704a642
Jun. T: typo in vi-goto-mark
2013-04-02 16:20:28 +00:00
Oliver Kiddle
d88a46b1a9
31037: return to previous position with vi-goto-mark using `` or ''
2013-02-09 21:27:47 +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
eb562c9f2c
30715: use enum lextok for variables containing lexical tokens
2012-10-05 21:35:05 +00:00
Peter Stephenson
9c49c8dd27
John Stahara: 30641: bindkey -N error report is misleading
...
when copying keymap.
2012-08-25 18:02:32 +00:00
Peter Stephenson
1c0ed3b498
Aaron Scrab: 30604: make repeating vi skip character useful by ignoring
...
character just matched
2012-08-13 08:47:13 +00:00
Peter Stephenson
3e39278c24
Aaron Schrab: 30603: repeating vi skip characters command caused bad position
2012-08-13 08:44:05 +00:00
Mikael Magnusson
8ac002dab1
unposted: fix trailing spaces from previous commit
2012-05-02 13:59:28 +00:00
Mikael Magnusson
f7ce5878b8
30425 (fixed): Add localhistory/globalhistory to $ZLE_STATE as set by the set-local-history zle widget
2012-05-02 13:30:33 +00:00
Peter Stephenson
13a45d74eb
users/16932: implement $UNDO_CHANGE_NO and argument to undo widget
2012-03-29 20:31:33 +00:00
Bart Schaefer
3489c15799
30193: remnulargs() after poking into string in case length changes
2012-02-09 20:12:33 +00:00
Peter Stephenson
a84560cbf2
Holger Macht via Ismail: 30185: openSUSE directory missed from
...
module definition
2012-02-07 15:41:01 +00:00
Peter Stephenson
9b923cccea
30084: `zle -T tc func' for zle testing of termcap output
2012-01-05 20:01:24 +00:00
Bart Schaefer
bcd0fd1128
queue_signals() to prevent adjustwinsize() loop on FreeBSD
2012-01-02 19:31:16 +00:00
Bart Schaefer
81cb361d73
30033: silence valgrind warnings
2011-12-20 17:15:50 +00:00
Peter Stephenson
45faf8f5b2
29891: make zle -lL with arguments work
2011-11-04 14:14:26 +00:00
Peter Stephenson
31c422299d
29859: compadd handles its own options
2011-10-26 12:45:10 +00:00
Peter Stephenson
8dc39360c9
29820: _pick_variant -b to match builtin
2011-10-14 19:01:41 +00:00
Peter Stephenson
84f8330e0d
users/16375: initialise nrefs on each loop in match tests
2011-09-18 17:44:12 +00:00
Mikael Magnusson
cd3acd762d
29681: use [] to dereference region_highlights
2011-08-17 10:15:49 +00:00
Peter Stephenson
a3ae9f5d12
29643: set incompfunc to zero when executing hook or trap function
2011-08-04 08:30:50 +00:00
Peter Stephenson
4a3ce8ab89
29644: work around _describe bug, plus cosmetic tweaks
2011-08-03 20:57:32 +00:00
Peter Stephenson
a05a51ce8a
29542: fix crash in hbegin(), remove bad test
...
29543: fix backslash-newline within words with histlexwords
2011-07-12 08:37:11 +00:00
Peter Stephenson
e1680e6840
29503: Missing popheap() on failed autoload
2011-06-23 19:29:24 +00:00
Peter Stephenson
437d5d98f6
unposted: Remove additional for loop noticed by Mikael
2011-06-19 19:42:41 +00:00
Peter Stephenson
962624e8c3
29491: remove some variables set but not used
2011-06-19 16:26:10 +00:00
Peter Stephenson
d7582f006f
29459: Further fixes for parameter flag completion,
...
plus drive-by fix for double-quoted parameter completion with flags
2011-06-04 21:32:06 +00:00
Peter Stephenson
d292edc4dc
29452: allow completion of parameter flags
2011-06-03 22:06:59 +00:00
Peter Stephenson
54acd80359
29374: exit ZLE immediately if exit pending when keypress expected
2011-05-26 09:19:11 +00: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
f61ae85acf
29268: extra dupstring() for value to be used in completion match group
2011-05-14 00:36:06 +00:00
Peter Stephenson
506615ff94
29267: add -enable-zsh-debug and use for debugging completion matcher groups
2011-05-14 00:07:41 +00:00
Peter Stephenson
9c0a19669b
Danek: 29254: fix some compiler warnings
2011-05-13 18:12:05 +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
Mikael Magnusson
1ac8412d6f
29208: make vimatchbracket more useful in emacs mode
2011-05-12 15:55:12 +00:00
Peter Stephenson
d89361739a
29165: use term.h globally if needed at all.
2011-05-09 09:49:08 +00:00
Bart Schaefer
2938c58c82
29107: replace overlapping strcpy with memmove
2011-04-29 15:23:33 +00:00
Bart Schaefer
ecb32c6b12
Jun T.: 29031: increment global minfo state when inserting characters
...
on the line during interactive menu selection.
2011-04-24 19:10:20 +00:00
Wayne Davison
c06f5b4556
Fix compiler warning due to state.doff duplication.
2011-04-15 14:56:53 +00:00
Bart Schaefer
67847a96ee
28926: No newline after the last line in listlist() when printing the list
...
in a single column.
2011-03-28 04:50:20 +00:00
Peter Stephenson
e4059eedc7
Mikael: 28941: fix $CURSOR access when metafied
2011-03-27 17:55:41 +00:00