Andy Kahn <[EMAIL PROTECTED]> writes:
> On Mon, Jan 22, 2001 at 10:57:43AM -0500, Havoc Pennington wrote:
> >
> > Andy Kahn <[EMAIL PROTECTED]> writes:
> > >
> > > What does gtksourceview provide that the new GtkTextView/GtkTextBuffer
> > > widgets does not?
> >
> > It's a subclass that adds syntax highlighting, line numbers, and other
> > programming-editor features.
>
> But doesn't the combination of GtkTextView/GtkTextBuffer provide
> exactly these features?
GtkTextView has a way to make colored text, and a way to draw stuff
like line numbers and breakpoints in a sidebar, but it doesn't know
how to parse C code in order to color the text, and it doesn't
actually draw the line numbers.
GtkTextView is a general-purpose widget you could use for lots of
different editing tasks, GtkSourceView specializes it for a code
editor.
Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list