[831] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: gtktext

daemon@ATHENA.MIT.EDU (Peter Mattis)
Mon Aug 25 12:26:44 1997

To: gtk-list@redhat.com
In-reply-to: Your message of "Sun, 24 Aug 1997 22:55:53 EDT."
             <199708250255.WAA24904@cc1000916-a.avnl1.nj.home.com> 
Date: Mon, 25 Aug 1997 09:18:05 -0700
From: Peter Mattis <petm@scam.XCF.Berkeley.EDU>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


Arun Sharma writes:
>I think Josh MacDonald wrote the widget and the last time I checked
>with him, he said, he couldn't work on it for a couple of months.

I think it would be really cool if Josh could write up some informal
documentation on how the text widget is supposed to work
internally. It does alot of things right. Apparently Josh borrowed the
idea for the gap buffer from emacs so it works well with large
text. I've seen text insertion working pretty good at various times. I
think the only items left on his list of things todo were horizontal
scrolling, selections and fixing text insertion and deletion. That may
sound like a lot, but getting the text display engine to the point its
at where it rarely needs to use the entire buffer of text to display
the fraction of text seen on the screen is a lot of work. That is, its
a lot easier to write a display engine which works in time proportional
to the number of lines of text in your buffer vs a display engine
which works in time proportional to the number of lines of text on the
screen.

Peter

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post