medit is a GTK text editor. Started as an editor component of GGAP (http://ggap.sourceforge.net/), it grew up to a real full-featured text editor.