[9295] in The GTK GIMP ToolKit mailing list archive

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

[gtk-list] Re: Need for an advanced GtkText widget ...

daemon@ATHENA.MIT.EDU (Alex Roberts)
Wed Oct 14 14:22:51 1998

Date: Wed, 14 Oct 1998 19:22:25 +0100
From: Alex Roberts <bse@dial.pipex.com>
To: gtk-list@redhat.com
In-Reply-To: <s62472d9.010@IDS-Scheer.DE>; from Joerg Janes on Wed, Oct 14, 1998 at 09:45:39AM +0100
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Quoting Joerg Janes (J.Janes@IDS-Scheer.DE):
> Hi out there,
> 
> I want to know, if there is anyone working at better text widget, which can be used by an editor which knows "lines" ?
Someone, Chris Lahey i think, is working on a GtkRichText widget... not sure
if that's what you mean..

> 
> I think, there is a need fir this ! There should be a widget, which breaks the Text into lines an stores the text by line. Further, there should be a posibility to attach some user defined data to this lines. Last but not least, there should not be a line or word wrap, so we can us a horizontal scrolling bar.
Hmm, maybe a GtkList (highly modified i guess) would provide the basis for
such a widget..

> 
> With such a widget, we could do some nice things like syntax highlighting, text bookmarks, line numbering and so on more performant ...
Yeah, that would be cool for gEdit...

> 
> Unfortunately, I'n not so familar with the GTK internals to do such work ... is there anyone out there, who can do such a work ? I would be happy, I could help with concepts, perhaps with some coding ...

Yeah, as i said, a GtkList would probably be the best widget to use to provide
the basis for what you say.. it can do Horiz scrolling (it can, can't it?),
and it should be quite easy to do as you say... On the other hand, the
GtkCList (that's what it's called, right), would provide the same as a
GtkList, but you could also do a 'folding' effect (like a tree, but with
blocks of text, separated out with a certian marker or something)...


Well, just my 4p/min..
-- 
 ________________________________________
|                   |  ___ ________  \_*_|   
| Alex Roberts      |  |__][__ |___    \ |   
| bse@dial.pipex.com|  |__]___]|___    /\| 
|----------------------------------------|
| I live in England, and I'm proud of it |
 ---\--> http://nuklear.home.ml.org <-/--
     \-> http://gedit.pn.org <-------/

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


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