Re: GtkSCText (was: Timescale issues)



> I feel the method for determining syntax highlighting should be relegated
to
> subclasses or aggregated code, but I think the basic mechanism of
highlighting
> should be in the GtkText widget.

How about using a plugin system that handles whether a word should be
highlighted, and the programmer can either use default ones (say for C), or
write his own. The GtkText widget then just needs a set_highlighter command,
to set which plugin to use.
iain



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