lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV "123 g" command is wrong...


From: Klaus Weide
Subject: LYNX-DEV "123 g" command is wrong...
Date: Sun, 27 Apr 1997 12:00:23 -0500 (CDT)

On Sun, 27 Apr 1997, Foteos Macrides wrote:

I found that my logic for counting links is wrong; it sometimes already
jumps to form fields, even without Laura's patches :-/.  

This only seems to happen (1) if there are form fields on the same line as
the target link, before it, or (2) if the displayed page won't chage, and 
there are form fields on the same page before it.

I believe the fix is simple, near the top of GetLinkInfo in GridText.c
in the lines

    for (a = HTMainText->first_anchor; a; a = a->next) {
        if (go_line && a->number > 0) {
            if (a->line_num == prev_anchor_line) {
                anchors_this_line++;
 
the "if" condition has to be changed to

        if (go_line) {

But I haven't tested it yet.  Just thought I should let you (Laura, Fote)
who may be working on something related know.

  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]