Checked in and tagged "Templates-5_1_0" after OK from Steve Jakob.
Templates plugin 5.1.0
Tagging for release 5.1.0
Bug fixes and improvements for release 5.1.0
Templates plugin
fixed a bug where XInsert could not load macros (MacroHierarchy now uses ArrayList instead of Vector)
Thanks a lot, that was quick! Can't test it right now, but will do soon :-)
The breaking change was introduced here: https://sourceforge.net/p/jedit/svn/25073/
Seems to be a new (regression) bug in VFSFileChooserDialog. VFSFileChooserDialog.getSelectedFiles used to return an array of filenames with at least one entry, or NULL if no file was chosen. Now it returns an empty array unless you double-click on a file (simply selecting the file and pressing "open" does not work anymore). As a preliminary workaround you can test for an empty array in the macro: String[] files = chooser.getSelectedFiles(); if(files == null || files.length == 0) return;
Fix for #1844168: download resources automatically when xml.general.network.mode is "always"
Generated DTD takes over encoding from XML document
added Michael Kay's DTDGenerator and the corresponding action and menu item
Some enhancements for the Javascript Parser, improving the result for modules like script.aculo.us
Added documentation for the DTD generation feature.