zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: math context completion
@ 2006-08-20 17:57 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2006-08-20 17:57 UTC (permalink / raw)
  To: Zsh hackers list

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@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-20 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-20 17:57 PATCH: math context completion Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).