[Top][All Lists]

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

Re: lynx-dev Would an Outline View be feasible?

From: Klaus Weide
Subject: Re: lynx-dev Would an Outline View be feasible?
Date: Wed, 17 Nov 1999 08:47:53 -0600 (CST)

On Sat, 13 Nov 1999, Ilya Zakharevich wrote:

>  From: Klaus Weide <address@hidden>
> > (b) Tweak HText implementation in GridText.c.  I assume it's enough to
> >     do the collapsing/expanding in a line oriented way (not affecting
> >     parts of lines, but only lines as a whole.  The required basis for
> >     this could be adding a 'visible' flag to each HTLine, which would
> >     be set/unset in some way by user actions.  [...]
> No need for such monstrosities.  Just add a new field to HTLine, say,
> HiddenLines.  If you need to collapse several lines into one, create
> an HTLine for the new line, move collapsed HTLines to HiddenLines
> field of the new line, and replace these lines by the newly created
> line.  Reverse on uncollapsing.
> (Of course, one may need to recalculate other hashed info in struct _HText.)

Your idea may be simpler.  I am not convinced it really is, given all
the places where lists of lines (and anchors) are being traversed.


reply via email to

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