Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: math context completion
- X-seq: zsh-workers 22643
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: math context completion
- Date: Sun, 20 Aug 2006 18:57:16 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Here are some bugs I did find: completing in math context never
terminated.
Index: Src/Zle/zle_tricky.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_tricky.c,v
retrieving revision 1.73
diff -u -r1.73 zle_tricky.c
--- Src/Zle/zle_tricky.c 11 Aug 2006 21:30:38 -0000 1.73
+++ Src/Zle/zle_tricky.c 20 Aug 2006 17:46:54 -0000
@@ -1444,6 +1444,7 @@
wb = wptr - zlemetaline;
break;
}
+ wptr = cptr;
}
}
zsfree(s);
@@ -1464,6 +1465,7 @@
}
if (cptr >= sqbr)
break;
+ wptr = cptr;
}
if (wptr < sqbr) {
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author