[MonoDevelop] [Fwd: How to do a SourceEditor control?]

Christian Hergert chris@mosaix.net
Wed, 10 Nov 2004 11:40:29 -0800


--=-PTO8ZzhZJhEnWhaljlkv
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Alexandre,

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.

~ chris

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
>=20
> 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")=
.
>=20
> So I whish to know if this is possible with the existing sourceeditor,=20
> the horizontal "frame" and to show icons...
>=20
> 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?
>=20
> Please give me your opinions, and sorry my bad english!
> Thanks,
> Alexandre Gomes, Portugal
>=20
>=20
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

--=-PTO8ZzhZJhEnWhaljlkv
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)

iD8DBQBBkm6tCbCkkek3byARArXCAJ9wlgTrwQ0WJDzAj4vKEqXIPW0APACeIyfP
aselSfJ3Zljf2Z8O5Fq1gZU=
=Juic
-----END PGP SIGNATURE-----

--=-PTO8ZzhZJhEnWhaljlkv--