summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_misc.c
AgeCommit message (Collapse)AuthorFilesLines
2025-01-3053332, 53334: Avoid strlen calls after sprintfOliver Kiddle1-2/+1
2021-09-0849387: suffix highlight with "compadd -R"Bart Schaefer1-6/+3
2018-09-03Don't handle ZLE functions for single key.Peter Stephenson1-2/+2
For read -k and read -q where we use ZLE, we just want a single key and not full ZLE processing. So don't handle timed ZLE functions when preforming the read.
2016-11-2039986, 39989: improve handling of vi-repeat-changeOliver Kiddle1-2/+6
Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied.
2016-09-1139252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf1-1/+1
2016-04-1438286: cursor correction following yank-pop is only applicable to vi command ↵Oliver Kiddle1-1/+1
mode
2016-02-0337868: add 'static' to file local variablesJun-ichi Takimoto1-1/+1
2015-09-1236525: revert only the selfinsert() bit of 36496Barton E. Schaefer1-1/+4
selfinsert() may be called with incomplete wide character processing from places other than getkeymapcmd()
2015-09-1136443: Revert "35834: strip a final newline from pasted text: inserting is ↵Daniel Shahaf1-6/+0
hard to tell apart from accepting it" This reverts commit f17eb26a34af69a2238a3d8b46079445e09c096e. Conflicts: ChangeLog Src/Zle/zle_misc.c
2015-09-11Read full multibyte string early for self-insertPeter Stephenson1-4/+2
2015-08-21unposted: fix up for 5.0.8-test-2Peter Stephenson1-1/+1
2015-08-1736109: bracketed-paste: change quoting styleDaniel Shahaf1-1/+1
2015-08-14unposted: fix minor typosDaniel Hahler1-2/+2
2015-08-1235834: strip a final newline from pasted text: inserting is hard to tell ↵Oliver Kiddle1-0/+6
apart from accepting it
2015-07-2335824: allow highlighting of just pasted text and put text from bracketed ↵Oliver Kiddle1-6/+15
paste in cut buffers
2015-07-2235826: add getsparam_u() to return unmetafied string, use it for a number of ↵Barton E. Schaefer1-2/+2
references to non-special params
2015-06-23unposted: add missing (void) argument list to bracketedestring()Peter Stephenson1-1/+1
2015-06-1935474, 35492: support the bracketed paste mode of newer terminal emulatorsOliver Kiddle1-0/+68
2015-04-1734919: update interrupt parse error for ZLE cases.Peter Stephenson1-1/+1
Covers both send-break and push-input.
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson1-1/+1
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-0533860: minor fixes to vi mode changesOliver Kiddle1-8/+19
2014-11-3033823: overwrite mode shouldn't replace newlinesOliver Kiddle1-11/+10
2014-11-1733636: add support for a linewise visual selection modeOliver Kiddle1-3/+42
2014-11-1733635: adapt region to function as vim style visual selection modeOliver Kiddle1-5/+9
2014-11-1733700: new widget for put in vim style visual selection modeOliver Kiddle1-4/+57
2014-10-3033570, 33576: make killring/yank-pop work in vi mode afterOliver Kiddle1-9/+83
vi-put-before and vi-put-after
2014-03-23m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixesm0viefreak1-14/+14
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix auto-removable suffix highlighting Completion/Unix/Command/_git: fix compadd for auto-removable suffix in _git_commit_ranges and _git_stash
2014-01-0232196: copy-prev-shell-word needs a lexer flagCarl Drougge1-1/+1
2010-12-1228510: add (z+c+) and (z+C+) parameter flagsPeter Stephenson1-1/+1
2009-04-2426876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARSPeter Stephenson1-14/+51
2009-01-2826463: Greg Klanderman: add zle-line-finish widgetPeter Stephenson1-3/+19
26464: Greg Klanderman: fix insert-ids=single for menu completion 26465: Greg Klanderman: command keymap for execution
2008-09-2625744: dynamic named directories and further doshfunc() simplificationPeter Stephenson1-1/+1
2008-09-1625677: add %x and %I prompt escapes for shell source code debuggingPeter Stephenson1-3/+3
tidy up interface to doshfunc()
2008-05-0424915: some more fix-ups for combining charactersPeter Stephenson1-4/+14
2008-04-23unposted: fix overwrite without MULTIBYTE_SUPPORTPeter Stephenson1-1/+7
2008-04-2224861 (with tweaks): logic to use alternative wcwidth() if needed;Peter Stephenson1-2/+8
slightly improve test for overwriting with combining characters.
2008-04-2124860: better overwrite modePeter Stephenson1-5/+29
2008-04-2124859: combining chars: overwriting and vi replace and appendPeter Stephenson1-6/+19
2008-04-2024853: bits missed from patchPeter Stephenson1-2/+2
2008-04-2024853: use metafied strings for inner loops over historyPeter Stephenson1-40/+52
2008-04-1524819: fix transposing characters and sneaky combination generationPeter Stephenson1-21/+81
2008-04-1424816: some places where we need cursor alignment with combining charactersPeter Stephenson1-0/+2
2008-04-1324808: initial support for combining characters in zlePeter Stephenson1-20/+24
2008-04-0324786: handle read -t properly in zle via getbyte()Peter Stephenson1-1/+1
2007-08-3023807: fix interactive completion modePeter Stephenson1-0/+2
2007-04-19users/11419: zle copy-region-as-kill <string>Peter Stephenson1-7/+14
adds text to the kill ring
2006-09-1022684: improve getkeystring() interface and make printf do octal escapesPeter Stephenson1-1/+1
2006-02-09Call ZS_memchr() instead of plain memchr() so that suffix-removalWayne Davison1-2/+2
works again.
2006-01-0622124: handle bad multibyte input betterPeter Stephenson1-1/+5
2005-11-30Fixed parsedigit() to have it use its arg instead of "lastchar".Wayne Davison1-15/+12