From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5393 invoked from network); 29 Jan 2003 06:45:02 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 29 Jan 2003 06:45:02 -0000 Received: (qmail 16191 invoked by alias); 29 Jan 2003 06:44:34 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5839 Received: (qmail 16184 invoked from network); 29 Jan 2003 06:44:34 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 29 Jan 2003 06:44:34 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.136.128.123] by sunsite.dk (MessageWall 1.0.8) with SMTP; 29 Jan 2003 6:44:34 -0000 Message-ID: <20030129064435.68070.qmail@web10410.mail.yahoo.com> Received: from [158.252.213.174] by web10410.mail.yahoo.com via HTTP; Tue, 28 Jan 2003 22:44:35 PST Date: Tue, 28 Jan 2003 22:44:35 -0800 (PST) From: Felix Rosencrantz Subject: Re: Predict-on and colored/higlighted predicted text To: zsh-users@sunsite.dk In-Reply-To: <1030126025509.ZM16716@candle.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Bart Schaefer wrote: > I wrote: > > } [...] So without some fairly large changes to ZLE, colorizing > } parts of the command is not possible. > > I was thinking about this, and it turns out it's not *quite* impossible, > but it does depend on redrawing behavior; so I'm not sure it will always > work, and it'd be really unpleasant over a slow connection. > > However, as soon as you begin to edit the line, all bets are off as to > where the highlight remains (or doesn't). I didn't try the function you sent, but the conditions seem to match incremental search really well. During incremental search the command line is just displayed, and not editted. So do you think it would be difficult change zle to add highlighting to show the matching text in the displayed command line during incremental search. -FR. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com