[MonoDevelop] [Fwd: How to do a SourceEditor control?]
Wed, 10 Nov 2004 11:40:29 -0800
Check out MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/. It
has everything you are looking for except Code folding (which we are
looking for someone to implement). It has both line numbers and icons
(bookmark a line for an example of icons). I believe it links against
gtksourceview c# bindings.
On Wed, 2004-11-10 at 19:07 +0000, Alexandre Gomes wrote:
> I'm building some extra features to monodevelop in order to get to know
> GTK-Sharp and of course to help MonoDevelop get better.
> I've an other project that I wish to port an make it builded-in=20
> MonoDevelop, and for that I need a SourceEditor, really similiar to the=20
> existing one. The things I'll need the most are some icons in left-side=20
> of sourceeditor, just like the line numbers and bookmarks in MD. Also I=20
> may need a simililar "frame" but horizontal and between lines, and=20
> functions like to hide/show some code (I think the name is "folder code")=
> So I whish to know if this is possible with the existing sourceeditor,=20
> the horizontal "frame" and to show icons...
> If not, but is always a possible option to me, I wish to build a=20
> sourceeditor to me. I wish to know what is the best way... your opinion.
> I was thinking of to build a TextBox array (without borders, etc...) and=20
> code the keypress to change lines. This seems to me fairly easy but I=20
> think the memory and performance could be hard issues. Also, I don't=20
> know if I can get colors with a simple textbox?
> Please give me your opinions, and sorry my bad english!
> Alexandre Gomes, Portugal
> Monodevelop-list mailing list
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----