1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-30 02:52:12 +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
Modules
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
.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
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
context.c 35642: signal queueing in zcontext_save_partial() 2015-06-27 15:53:21 -07:00
exec.c
glob.c
hashnameddir.c
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
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
loop.c
main.c Peter Castro: Cygwin improvements for dynamic libraries, text/binary, paths 2004-04-06 09:25:17 +00:00
Makefile.in
Makemod.in.in 29214: use -I rather than explicit path to find headers 2011-05-10 16:40:27 +00:00
makepro.awk
math.c
mem.c
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
params.c
parse.c 36566: check for regular file before lseek() 2015-09-19 23:05:44 -07:00
pattern.c
prompt.c
prototypes.h
signals.c
signals.h
signames1.awk
signames2.awk
sort.c 33818: fix types passed to sizeof detected by coverity as being wrong 2014-11-30 23:19:55 +01:00
string.c
subst.c
text.c
utils.c
watch.c
zsh.h 36577: supplement 36559 to using LONG_MAX for 64-bit long 2015-09-21 14:42:22 +01:00
zsh.ico
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