lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV USEMAP problems (was Re: fotemods.zip update)


From: Klaus Weide
Subject: Re: LYNX-DEV USEMAP problems (was Re: fotemods.zip update)
Date: Sun, 13 Apr 1997 20:38:53 -0500 (CDT)

That USEMAP stuff sure isn't easy to understand, and I am still trying
to understand what the FOTEMODS description exactly means :)
I haven't looked at the code changes yet, may have other comments later.
For now just one related thing:

It seems the ImageMap structured never get deleted (except at program
exit), and there is now way to "uncache" them.  This means that if
a map changes during the lifetime of a Lynx session (and the document
is reloaded), old (deleted) AREA entries will continue to show up.
I think this cold simply be improved if LYAddImageMap() would just
delete an ImageMap if it finds there already is one with the same 
address, and then create a new (empty) one, instead of reusing what
it finds.


On Sun, 13 Apr 1997, Foteos Macrides wrote:
>  Note that you don't want to make the UPDATE_SYTLE
> macro call contingent on whether me->text is not NULL [...]

Right - but that is not what my patch did.  The

    if (!LYMapsOnly || me->text)
        UPDATE_STYLE;

would do UPDATE_STYLE even in the LYMapsOnly==TRUE case, if for some
reason there *was* a me->text -- which normally should not happen.
Just a precaution...

  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]