about summary refs log tree commit diff
path: root/Src/Zle
Commit message (Collapse)AuthorAgeFilesLines
* Add match-bracket widget that takes a position and/or parameter to store ↵ mikachu/redrawhookMikael Magnusson2015-09-272-0/+75
| | | | | | | | | | | | | | | | | result, and does no weird vi stuff I use this in my zle-line-pre-redraw hook, local -a hackcol=(red cyan) local mpos cpos off for off in 0 1; do (( cpos = CURSOR - off )) if (( cpos >= 0 )) && zle .match-bracket $cpos mpos; then region_highlight+=("$((cpos)) $((cpos+1)) bold,bg=${hackcol[2]},fg=black" "$((mpos)) $((mpos+1)) bold,bg=${hackcol[1]},fg=black") break fi done
* Use a helper function for redraw hook and call from recursiveedit tooMikael Magnusson2015-09-271-22/+27
|
* Move zle-line-pre-redraw out of zrefresh into zle event handling loop, if it ↵Mikael Magnusson2015-09-272-23/+25
| | | | can be called that
* Fix paste highlighting with zle-line-pre-redrawMikael Magnusson2015-09-271-0/+4
|
* add zle-line-pre-redrawMikael Magnusson2015-09-271-0/+18
| | | | | | | Go to some lengths to preserve $LASTWIDGET in pre-redraw means we can't use the callzlehook function has same workaround as 29643
* 36641: fix multibyte handling in incremental search during menu selectionBarton E. Schaefer2015-09-261-1/+1
|
* unposted: zle: Document the C helper function processcmd().Daniel Shahaf2015-09-252-2/+5
| | | | Also, tweak the docstring of zlelineasstring().
* unposted: Followup to 36586: Change C99 comment syntax to the C89 syntax.Daniel Shahaf2015-09-231-2/+2
|
* 36586: fix completion match right anchorHan Pingtian2015-09-221-2/+4
|
* 36580: don't copy empty buffer in compmatch.Peter Stephenson2015-09-211-2/+9
| | | | Also check if length is non-zero when buffer is empty.
* 36525: revert only the selfinsert() bit of 36496Barton E. Schaefer2015-09-121-1/+4
| | | | | selfinsert() may be called with incomplete wide character processing from places other than getkeymapcmd()
* 36522: unmetafy the argument of "zle -U"Barton E. Schaefer2015-09-121-1/+1
|
* 36443: Set zle_highlight=(paste:standout) by default.Daniel Shahaf2015-09-111-1/+2
|
* 36443: Revert "35834: strip a final newline from pasted text: inserting is ↵Daniel Shahaf2015-09-111-6/+0
| | | | | | | | | | hard to tell apart from accepting it" This reverts commit f17eb26a34af69a2238a3d8b46079445e09c096e. Conflicts: ChangeLog Src/Zle/zle_misc.c
* Read full multibyte string early for self-insertPeter Stephenson2015-09-115-17/+42
|
* 36445: Expose yankb, yanke, ZLE_YANK to widgets.Daniel Shahaf2015-09-101-0/+30
|
* 36478: Add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests.Peter Stephenson2015-09-101-2/+3
|
* 36470: Auxiliary to 36468, return an empty buffer from zleread() if a widget ↵Barton E. Schaefer2015-09-101-1/+1
| | | | exits
* 36437: Document interaction of $region_highlight and $zle_highlight.Daniel Shahaf2015-09-071-0/+2
|
* unposted: typo in commentMikael Magnusson2015-09-061-1/+1
|
* 36416: ^C in getzlequery() just aborts query.Peter Stephenson2015-09-032-1/+7
| | | | | Also logical but possibly invisible fix for error propagated back from listing interface.
* 36365: magic-space could delete the reset of the line.Peter Stephenson2015-09-011-0/+2
| | | | | | If we got a LEXERR, which didn't necessarily mean an actual error, just something the rather nasty ctxtlex() got confused by, we didn't scan the reset of the line.
* 36288: refine 36825, slightly different test for redirect contextBarton E. Schaefer2015-08-261-1/+1
|
* 36285: update 36025, context cannot be command and redirect at the same ↵Barton E. Schaefer2015-08-261-4/+5
| | | | time, redirect wins
* 36274: clear virangeflag when getvirange() has an error (the next keystroke ↵Barton E. Schaefer2015-08-221-0/+2
| | | | is not a motion/selection).
* 36273: teach endofline() and endoflinehist() about invicmdmode() cursor ↵Barton E. Schaefer2015-08-221-0/+4
| | | | placement.
* unposted: fix up for 5.0.8-test-2 zsh-5.0.8-test-2Peter Stephenson2015-08-211-1/+1
|
* 36109: bracketed-paste: change quoting styleDaniel Shahaf2015-08-171-1/+1
|
* unposted: fix minor typosDaniel Hahler2015-08-141-2/+2
|
* 36131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is ↵Oliver Kiddle2015-08-131-24/+9
| | | | referenced for a clear change number marking the current state
* 36106: fix const parameter to bindkeyKamil Dudka2015-08-121-1/+1
|
* 36125: don't set history context in get-lineOliver Kiddle2015-08-121-4/+2
|
* 35834: strip a final newline from pasted text: inserting is hard to tell ↵Oliver Kiddle2015-08-121-0/+6
| | | | apart from accepting it
* 36096: special . mark in vi modeOliver Kiddle2015-08-111-12/+24
|
* 36044: deactivate-region widget for escape in visual modeOliver Kiddle2015-08-113-0/+9
|
* 35952: bind escape in vi mode so it is a full key sequence and later keys ↵Jun T2015-08-111-1/+1
| | | | aren't dropped
* 36025: Fix completion aftoer "foo=bar; setopt ".Peter Stephenson2015-08-091-3/+13
| | | | | Done by catching a case that doesn't seem to be handled otherwise, so there's some hope it doesn't screw up too much.
* 35908: fix $((...)) completion in expand-or-complete widgetPeter Stephenson2015-07-251-2/+4
|
* 35882: read-command has ZLE_NOTCOMMANDBarton E. Schaefer2015-07-241-1/+1
|
* 35824: allow highlighting of just pasted text and put text from bracketed ↵Oliver Kiddle2015-07-234-9/+32
| | | | paste in cut buffers
* 35814: POSTEDIT needs to be unmetafiedOliver Kiddle2015-07-231-1/+1
|
* 35826: add getsparam_u() to return unmetafied string, use it for a number of ↵Barton E. Schaefer2015-07-222-4/+4
| | | | references to non-special params
* 35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and ↵Oliver Kiddle2015-07-141-1/+1
| | | | beep when limit is reached
* 35708: add UNDO_LIMIT_NOPeter Stephenson2015-07-092-2/+25
|
* unposted: remove compiler error in completion codePeter Stephenson2015-07-071-1/+2
|
* 35704: compadd -E 0 should imply -J and -2Oliver Kiddle2015-07-062-3/+3
|
* 35692: cfp_matcher_range used wrong raw characterPeter Stephenson2015-07-051-1/+1
|
* 35674: make an undo event for initial buffer contentsOliver Kiddle2015-07-031-0/+1
|
* 35665: better handling for command line completion match handlingHan Pingtian2015-07-021-3/+6
|
* 35637: remove the now unused module hook for reverse-menu-completeOliver Kiddle2015-06-293-8/+2
|