Writing a complete editor is possible after one month of learning TCL!
Usage of object orientation seemed to be a good idea: Have a mini editor for any kind of text. Derive HTML editor, TCL editor etc. from this. Have a set of classes needed for graphic programs, derive different graphical drawings / simulations from this. Specify a set of common used actions to include into the menu or a toolbar Have multiple instances of the same type, so can use a notebook with several tabs incr TCl offering classes and incr TK offering megawidgets like notebook seemed natural
But (1) ... incr TK seemed to be more complicated than necessary incr TK seemed to be slow because of code overhead. This led to the development of the Eti Framework.