Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Predict-on and colored/higlighted predicted text



--- Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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



Messages sorted by: Reverse Date, Date, Thread, Author