1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00
Commit graph

173 commits

Author SHA1 Message Date
Barton E. Schaefer
e54578ff74 37971: fix potential issues when interacting with user-defined widgets
Cf. users/21284: Eric Freese
2016-02-14 11:35:18 -08:00
Barton E. Schaefer
4a30b542a0 37570: give truth to the doc assertion transpose-words-match is a drop-in replacement for transpose-words 2016-01-13 19:51:07 -08:00
Barton E. Schaefer
c275839033 37567: use (Z:n:) to split the buffer into words so line breaks are treated as whitespace 2016-01-13 19:50:24 -08:00
Daniel Shahaf
1f2bdc2aa2 unposted (after users/20873): Theoretical fix: don't parse print/echo escape sequences in $zle_bracketed_paste. 2015-12-19 10:48:48 +00:00
Peter Stephenson
1f75d7ff2c 37386: localise mbegin, mend, match in URL magic 2015-12-11 14:05:29 +00:00
Oliver Kiddle
f546ea64df users/20873: disable bracketed paste while running external editor from zle 2015-12-11 05:34:48 +01:00
Daniel Shahaf
253df6d4bb 37295: kill-word-match: Join kills 2015-12-03 23:47:24 +00:00
Peter Stephenson
4add525883 37170: suppress global create warning in function 2015-11-20 12:42:35 +00:00
Peter Stephenson
1eef57b3d1 37027: allow subword context to discriminate between words 2015-10-30 16:59:41 +00:00
Barton E. Schaefer
aba7c00698 36994: declare local REPLY for use with "zle .read-command"; use .self-insert instead of .self-insert-unmeta 2015-10-27 20:29:07 -07:00
Barton E. Schaefer
b947789d7c 36871: move initial call to "zle .bracketed-paste-magic" to occur earlier in the function
Just in case any later initialization might have side-effects.
2015-10-21 14:47:41 -07:00
Mikael Magnusson
99aff5bb0c unposted: bracketed-paste-url-magic: actually do what the comment says 2015-10-01 20:16:24 +02:00
Mikael Magnusson
76da752fd7 36692: bracketed-paste-url-magic: simpler alternative for handling pasted urls 2015-10-01 03:55:21 +02:00
Barton E. Schaefer
56ed4df898 36587: use +LINE:COLUMN to place the cursor when invoking emacs variants, for emacsclient 2015-09-22 08:52:52 -07:00
Barton E. Schaefer
b957cdd21a unposted: revert 36483 as multibyte is now handled by "zle .read-command"; adapt to new default behavior of zle_highlight for paste 2015-09-12 17:16:43 -07:00
Peter Stephenson
f5e8527a8c 36483: handle incomplete multibyte characters in bracketed-paste-magi 2015-09-11 18:40:22 +01:00
Axel Beckert
a9df6aaa70 36338: Replace "5.0.9" with "5.1" in source comments 2015-08-30 22:47:00 +02:00
Barton E. Schaefer
2ed3b84fa6 36266: preserve emulation and setopt context for init and finish functions, handle vi modes 2015-08-21 13:38:19 -07:00
Barton E. Schaefer
c239a7bd91 36212: save and restore HISTNO along with other editor state, for sanity of "zle undo" 2015-08-17 20:59:00 -07:00
Barton E. Schaefer
2f2808098b unposted: mention bracketed-paste-magic in url-quote-magic comments 2015-08-16 22:52:21 -07:00
Barton E. Schaefer
795e6eb9b3 36195, 36196: wrapper of bracketed-paste for compatibilty with url-quote-magic and other self-insert wrapper widgets 2015-08-16 22:23:06 -07:00
Oliver Kiddle
832130c57d 36131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is referenced for a clear change number marking the current state 2015-08-13 16:18:26 +02:00
Oliver Kiddle
8bbfbfebbc unposted (c.f. Bart: 35902): use - after zle -U in case $key is - 2015-08-05 15:44:18 +02:00
Daniel Shahaf
a8e18dc370 35807: edit-command-line: Fix for non-7bit-data (after 35769)
Bug reported and fix suggested by Mikael.
2015-07-24 14:11:27 +00:00
Barton E. Schaefer
045bd4e3a6 35823: fix handling of MARK and CURSOR, clean up documentary comment 2015-07-22 12:48:03 -07:00
Daniel Shahaf
35ffe36318 35769: edit-command-line: Go to the right byte offset 2015-07-13 23:21:54 +00:00
Oliver Kiddle
5911aca85f 35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and beep when limit is reached 2015-07-14 00:30:45 +02:00
Mikael Magnusson
ea0f612c3a 35558: narrow-to-region: Use unique parameter names for new feature 2015-06-22 03:37:29 +02:00
Peter Stephenson
09e1b2434d 35545: enhance narrow-to-region to return LBUFFER and RBUFFER 2015-06-21 18:16:40 +01:00
Barton E. Schaefer
9f3dc6605a 35469: test UNDO_CHANGE_NO to determine whether to start over or use the next history event 2015-06-14 20:12:42 -07:00
Oliver Kiddle
d257f0143e 35093: new zle widgets for Vim-style text objects 2015-05-13 23:05:20 +02:00
Barton E. Schaefer
200accac63 34067: safe tempfile creation, part 1 2014-12-27 23:59:29 -08:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Peter Stephenson
f8ae47f29b unposted: updates for 5.0.5-dev-1 and subsequent 5.0.6 release 2014-08-10 17:49:55 +01:00
Peter Stephenson
6076c474f2 unposted: replace-argument can take negative prefix to count from end 2014-07-24 10:49:50 +01:00
Peter Stephenson
4e54648add 32866: new replace-argument ZLE function.
Also a couple of read-from-minibuffer fixes: don't pass numeric
argument to recursive edit, and hide the minibuffer edit from
the undo history.
2014-07-17 09:45:46 +01:00
Peter Stephenson
08d4a6136e addition to 32527: also update .distfiles 2014-04-07 09:59:35 +01:00
Peter Stephenson
47c440aa2a 32527: zcalc-auto-insert key binding for use in zcalc 2014-04-07 09:58:30 +01:00
Peter Stephenson
52f72086c9 users 18531 plus doc etc.: new expand-absolute-path widget 2014-02-28 18:44:49 +00:00
Barton E. Schaefer
4748eff7d2 Some syntax adjustments in _expand_word_and_keep. Add a working URL. 2013-10-27 14:12:54 -07:00
Frank Terbeck
e619a7353a 31222: Stop {up,down}-line-or-beginning-search from triggering warn_create_global
This is a followup to 30995 taking Peter's suggestions from 30997 into
account.
2013-04-05 21:05:54 +02:00
Peter Stephenson
6265394d6b users/17608: use function to modify currrent command line argument 2013-01-24 20:28:20 +00:00
Peter Stephenson
5b32dece55 users/17132: skip-whitespace-first style for compatibility with bash etc.
in widgets using forward-word-match
2012-06-04 16:40:42 +00:00
Mikael Magnusson
150dc9021b 30461, 30462 (tweaked): add missing local for match, mbegin and mend 2012-05-02 13:09:37 +00:00
Peter Stephenson
246a63d9d3 users/16944: more locals needed in url-quote-magic 2012-04-01 17:28:31 +00:00
Peter Stephenson
791ada572b add some braces to avoid compiler warnings 2012-03-30 11:01:11 +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
c3b79e0f69 users/16760: make reply local in url-quote-magic for the benefit of styles 2012-02-14 15:33:01 +00:00
Peter Stephenson
ec6914b061 29894: display and use previous replacement in replace-string 2011-11-07 11:13:48 +00:00
Peter Stephenson
a6e039e12e 29892: fix regular expression replacements in replace-string
improve variable save and restore in read-from-minibuffer
2011-11-04 14:31:23 +00:00