[MonoDevelop] Managed Line Editor

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Oct 29 15:16:05 EST 2006


On 10/29/06, Matej Urbas <matej.urbas at gmail.com> wrote:
> Create a source editor with GTK# and Pango? Take a look at how
> SharpDevelop's, NetBeans' or Eclipse's (my favourite) editors manage
> things? Better integrate parsers with editors?

The only major issue you *might* have with a managed editor is
performance -- I think the #D guys had some trouble there IIRC -- but
there are plenty of advantages. You could even port #D's editor
directly from its current SWF to GTK#/Cairo/Pango, though I think that
MD's architecture has diverged quite a bit in that area. If you
implement the interfaces in MonoDevelop.Ide.Gui.Content, then most of
the existing text editing features should work fine. The #D book
(which is now free) might have some stuff about how they wrote the
editor. I remember seeing an interesting document a couple of years
back about how they'd designed it.

I don't know how useful integrating the editor with the parser would
be -- what ideas do you have in that area? I would more be thinking
about ease of adding code folding, error underlining, line
modification indication, complicated syntax highlighting schemes...

Fully managed text buffers would alse be useful for having more than
one active view of a buffer, for split panes or different editor
interfaces.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list