[MonoDevelop] ScintillaNET on GTK# for MonoDevelop

John Luke jluke@cfl.rr.com
Tue, 13 Apr 2004 15:39:23 -0400

On Tue, 2004-04-13 at 12:57 -0600, Garrett Serack wrote:
> Howdy, 
> I'm the devloper who maintains the ScintillaNET wrapper for the Scintilla control, (which currently is bound tightly around the Win32 version of the control).
> I'm about to* embark on a crusade to completely OpenSourceify my life, and purge myself of Win32,  and in doing so I found MonoDevelop.  I downloaded the archives for this list, and in reading discovered that some folks had mentioned using Scintilla as the Editor.
> I'm more than willing to get ScintillaNET cross-platform and working as a mono-enabled control, for those that wish to use it, and hopefully it could be integrated into MonoDevelop soon.
> Unfortunatly, the current version, is like I said Win32. Through-and-through. I wrote it using Managed C++, which, unless I'm on crack, there is no mono equivalent.
> So, I'm looking to wrap the Scintilla GTK control in the same way that other native code has been wrappered, but I've got a couple of questions.
> Is there a tool for autogenerating bindings of native libraries, or is this a manual process, and Where might this tool be.
> and 
> Is there an interest for this?
> Garrett Serack

	MonoDevelop can support alternative editors, so although we may want to
stick with our current editor, you could write a plugin to use your
ScintillaNET wrapper also.  I would recommend you do a generic wrapper
first perhaps using the Gtk# parser and generator.  There is some brief
documentation in the Gtk# source of how to do so, and plenty of
examples.  It does require that Scintilla be based on GObject and
somewhat follow the GNOME coding style.  If not you might have to do it
by hand.  For more questions about that please ask on gtk-sharp-list.

Once you get that wrapper done you can start looking at adopting it as
an AddIn for monodevelop.  There is some brief documentation in
MonoDevelop/docs/WritingAddins.html which is also on
http://monodevelop.com  We can also answer more questions on this list.