lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Laura's highligting patch


From: Klaus Weide
Subject: Re: LYNX-DEV Laura's highligting patch
Date: Sun, 18 May 1997 19:20:39 -0500 (CDT)

On Sun, 18 May 1997, Laura Eaves wrote:

> One limitation of my patch (which Klaus objected to) is that it only saves
> info on whether a link is underlined (one boolean value).  (That's all that's
> needed in the current version.)
> To make the fix more general, there should
> be more elaborate attribute info saved.
> 
> In particular, with RP style sheets, different types of links can be
> diffeernt colors.  (At least that's what I saw in 2-6RP.)
> So highlight() needs to know what the colors are -- not just whether it
> needs to underline.

I thought of a quite different approach - basically, to make a minimalized
version of the display_page() function which only redraws one (or maybe
two) line(s), and skips all the rest.  That could then be used instead of
highlight(..,OFF), I thinks it's not too much overhead to rewrite a full
line instead of just the anchor text.   If it works, it should ensure that
the line is redrawn the same way as the first time, since it would use the
same data (with included underline/bold switching information).
Additional advantage is that highlighted WHEREIS search text could also be
restored.

Well at this point it is just an idea.  (Maybe someone else wants to do
it?)  I don't know how this idea would interact with (whatever version of)
Rob's code.

   Klaus

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]