FYI - If you check out the latest from Subversion
, there's the beginning of your request in there. Really more of the latter half of it, but it's a start.
CodeTemplate is now a public interface and you should be able to add your own implementations via RSyntaxTextArea#addCodeTemplate(). The previous CodeTemplate implementation is now the "StaticCodeTemplate" class, as you suggested. Templates are now loaded & saved via XMLEncoder/Decoder, so persistence should not be a problem as long as your CodeTemplates are JavaBeans.
Also note that I've changed the template insertion keystroke from just space to ctrl+space. I'm not sure if I like it better this way or not...