Simultaneous creation of the module and the program assures that the editor will be ajusted for designers. You will be able to modify anything and, I hope, in a dynamic way.
Here is a little diagram that shows the links between various parts useful to the Editor.pl program.
The kernel "Text::Editor::Easy" will have to be reduced to the mininum in order to contain only what is absolutely necessary to the basic working of a standard editor. This kernel contains now the essentials to create threads and have them communicate, to read and write (in memory or in a file), to display data on a "virtual screen" (a user interface plugin is needed).
Threre are 3 kinds of extensions to this kernel :
Starting the Editor.pl program
Here is the cpan link, read README if you have problem to install it with the cpan command