PageRenderTime 105ms CodeModel.GetById 101ms app.highlight 1ms RepoModel.GetById 1ms 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
 1fileDialogReturnValue = GUIUtilities.showVFSFileDialog(view,null,
 2	VFSBrowser.CHOOSE_DIRECTORY_DIALOG,false);
 3if(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}