simple gtk text editor written in c