[Gtk-sharp-list] need help with TextBuffers and TextIters
Martin Willemoes Hansen
mwh@sysrq.dk
Fri, 21 Nov 2003 19:49:29 +0100
On Fri, 2003-11-21 at 19:23, Patrik Olterman wrote:
> Hello all
>
> I have for a while been working on a low end C# editor in GTK#
> I am struggling to make syntax highlighting to work due to the
> lack of documentation on TextIters and TextBuffers. The full code can be
> found in a subversion repository on
> http://www.olterman.se:8080/repos/mono/ezsharp/ezsharp.cs
>
> heres what I have so far as to syntax highlighting as you can see its
> far from perfect, right now it highlights oneline comments and strings
> if there is only one string on a line. Hopefully this will give us a
> working little editor and some documentation on buffers and iters.
Maybe you can use GtkSourceView:
http://mwh.sysrq.dk/blog/archive/2003/Nov-21.html
--
Martin Willemoes Hansen
--------------------------------------------------------
E-Mail mwh@sysrq.dk Website mwh.sysrq.dk
IRC MWH, freenode.net
--------------------------------------------------------