Jedit http://jedit.org is a text editor written in Java. It has editing modes for lots of languages, including Tcl [http://jedit.org/index.php?page=features]. Jedit has a plugin architecture; many (but certainly not all) of the available plugins are Java development oriented. Jedit includes a default macro langauge, Beanshell (Java-like), but can use Tcl (Jacl), Python (Jython), Ruby, NetRexx, et. al. via use of plugins [http://plugins.jedit.org/list.php?category=6].