PageRenderTime 39ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre14/doclet/Clean_Up_Javadoc.bsh

#
Unknown | 11 lines | 11 code | 0 blank | 0 comment | 0 complexity | 1ca0c74b059c5759ceae3342c5a73209 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. fileDialogReturnValue = GUIUtilities.showVFSFileDialog(view,null,
  2. VFSBrowser.CHOOSE_DIRECTORY_DIALOG,false);
  3. if(fileDialogReturnValue != null)
  4. {
  5. SearchAndReplace.setSearchString("(<SCRIPT>(.|\n)*?</SCRIPT>|onload=\".*\")");
  6. SearchAndReplace.setReplaceString("");
  7. SearchAndReplace.setRegexp(true);
  8. SearchAndReplace.setSearchFileSet(new DirectoryListSet(
  9. fileDialogReturnValue[0],"*.html",true));
  10. SearchAndReplace.replaceAll(view);
  11. }