1. Works only on Windows
2. Allows any WindowsScriptingHost MacroLanguage to control the TextEditor.
This is a pretty powerful system. The closest competitor is the IBM BeanScriptingFramework (BSF) for Java.
Unless of course there's a Gnome Corba component framework that does the same thing. Is there?