1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

22643: completing in math context

This commit is contained in:
Peter Stephenson 2006-08-20 18:07:49 +00:00
parent 48fb5eabfb
commit f29b8450e7
2 changed files with 5 additions and 0 deletions

@ -1,5 +1,8 @@
2006-08-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 22643: Src/Zle/zle_tricky.c: completion in math context was
broken by searching for multibyte word characters.
* 22638: Src/Modules/zutil.c: deleting styles in contexts didn't
remove the style itself if it was the last context.

@ -1444,6 +1444,7 @@ get_comp_string(void)
wb = wptr - zlemetaline;
break;
}
wptr = cptr;
}
}
zsfree(s);
@ -1464,6 +1465,7 @@ get_comp_string(void)
}
if (cptr >= sqbr)
break;
wptr = cptr;
}
if (wptr < sqbr) {