1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-28 16:15:02 +01:00
zsh/Src
Mikael Magnusson 72f7f904e8 Add match-bracket widget that takes a position and/or parameter to store 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
2015-09-27 02:28:41 +02:00
..
Builtins 36227: attempt to fix metafication problem with ztrftime. 2015-08-18 16:20:48 +01:00
Modules 36509: allocate hash table nodes with zshcalloc() to avoid garbage flag values 2015-09-12 09:53:39 -07:00
Zle Add match-bracket widget that takes a position and/or parameter to store result, and does no weird vi stuff 2015-09-27 02:28:41 +02:00
.cvsignore unposted: .cvsignore patchlevel.h 2009-02-18 17:11:16 +00:00
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
.exrc Initial revision 1999-04-15 18:05:38 +00:00
.indent.pro Initial revision 1999-10-17 18:01:49 +00:00
builtin.c 36256: local options should remain in effect for "emulate -L" even if additional option settings are applied 2015-08-21 13:38:19 -07:00
compat.c 36422: add missing unmeta() 2015-09-08 11:12:10 +02:00
cond.c 32954 plus new test: [[ ... = ...(#q...) ]] shouldn't force a glob. 2014-08-04 19:52:50 +01:00
context.c 35642: signal queueing in zcontext_save_partial() 2015-06-27 15:53:21 -07:00
exec.c 36378: skip directories when looking for files to autoload 2015-09-02 20:19:28 +01:00
glob.c 36603: glob: fix dirfd leak during Y shortcut qualifier 2015-09-24 20:52:56 +02:00
hashnameddir.c 29195: Separate nameddir hash to avoid clash of 2011-05-09 10:38:02 +00:00
hashtable.c 36403: type -w += suffix alias 2015-09-03 09:17:39 +00:00
hashtable.h 35193: Add "unalias -a". 2015-05-18 16:57:08 +01:00
hist.c 36468: Fix infinite loop exiting from Zle widget. 2015-09-10 16:02:27 +01:00
init.c 36090: keep signals queued for preprompt() 2015-08-11 08:55:23 -07:00
input.c 36022 fix bug that some loop constructs could not be interrupted, revise signal queueing 2015-08-09 16:13:52 -07:00
jobs.c 36180: avoid infinite job stop/continue loop on "wait PID" for a background job 2015-08-15 10:15:30 -07:00
lex.c 35953: fix handling of command substitution in math context 2015-07-29 22:36:45 -07:00
linklist.c 33531 with additions: retain status of exited background jobs. 2014-10-26 17:47:42 +00:00
loop.c 36022 fix bug that some loop constructs could not be interrupted, revise signal queueing 2015-08-09 16:13:52 -07:00
main.c Peter Castro: Cygwin improvements for dynamic libraries, text/binary, paths 2004-04-06 09:25:17 +00:00
Makefile.in gi1242+zsh@gmail.com: 28594: 2011-01-09 16:57:01 +00:00
Makemod.in.in 29214: use -I rather than explicit path to find headers 2011-05-10 16:40:27 +00:00
makepro.awk 22585: fix zsh.exports 2006-08-04 11:42:20 +00:00
math.c 35359: Improved math parsing and errors. 2015-06-02 10:21:55 +01:00
mem.c 34451: use mmap() also on Mac OS X 2015-02-03 20:50:26 +09:00
mkbltnmlst.sh 27648, 267650/1, unposted README change: 2010-02-03 18:34:32 +00:00
mkmakemod.sh 32910: quiet update of timestamp files 2014-07-26 09:58:00 -07:00
modentry.c 23571 + unposted; AIX compilation fixes 2007-06-19 20:21:52 +00:00
module.c 34568: use META_HEAPDUP when passing dlerror() string to metafy() 2015-02-19 08:26:03 -08:00
options.c 35655: APPEND_CREATE option for POSIX copmatible NO_CLOBBER 2015-06-29 19:01:31 +01:00
params.c 36347: Fix appending empty array to associations 2015-09-01 23:20:05 +02:00
parse.c 36566: check for regular file before lseek() 2015-09-19 23:05:44 -07:00
pattern.c 36559: test earlier for overflow in pattern range 2015-09-19 23:08:46 +01:00
prompt.c 36227: attempt to fix metafication problem with ztrftime. 2015-08-18 16:20:48 +01:00
prototypes.h 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation 2014-06-07 13:48:40 -07:00
signals.c 36393: process queued signals during dotrap() 2015-09-02 19:11:54 -07:00
signals.h 31350: block SIGWINCH nearly all the time, except 2013-04-30 00:08:49 -07:00
signames1.awk Initial revision 1999-04-15 18:05:38 +00:00
signames2.awk 20566++: prefer SIGCHLD to SIGCLD and SIGPOLL to SIGIO 2004-11-19 09:57:22 +00:00
sort.c 33818: fix types passed to sizeof detected by coverity as being wrong 2014-11-30 23:19:55 +01:00
string.c Frank, 28812 as modified in 28813: 2011-02-28 12:05:31 +00:00
subst.c 35694: fix handling of history modifiers applied across all elements of an array parameter value 2015-07-06 16:35:05 -07:00
text.c 36399: Shell code text with multiple here documents wasn't shown properly. 2015-09-02 14:20:44 +01:00
utils.c 36562: sanitize $PWD on import, per POSIX 2015-09-19 23:03:39 -07:00
watch.c 36227: attempt to fix metafication problem with ztrftime. 2015-08-18 16:20:48 +01:00
zsh.h 36577: supplement 36559 to using LONG_MAX for 64-bit long 2015-09-21 14:42:22 +01:00
zsh.ico pws/Andrej: 12594, 12661: Windows resources and icon 2000-08-16 13:23:37 +00:00
zsh.mdd 34977: more reliable test if preprocessor is GNU 2015-04-28 09:20:15 +01:00
zsh.rc pws/Andrej: 12594, 12661: Windows resources and icon 2000-08-16 13:23:37 +00:00
zsh_system.h 32853: redefine VARARR() to use heap rather than stack allocation 2014-07-24 08:45:16 -07:00
ztype.h 35067: Add (b) parameter flag for pattern char backslashing. 2015-05-10 19:19:34 +01:00