/* * This is simple jEdit macro to replace all headings tags (h1, h2...h6) with one level lower * h1->h2, h3->h4, h6->p * charset: UTF-8 * * (c) TAAT Digital Technologies 2006 * Tomasz Pęszor * info at taat dot pl * http://taat.pl/jedit/ */ void headings_down(){ if (textArea.getSelectedText()==null) { mcp=textArea.getCaretPosition(); textArea.selectAll(); sn=true; } SearchAndReplace.setIgnoreCase(true); SearchAndReplace.setRegexp(false); SearchAndReplace.setBeanShellReplace(false); // h6 SearchAndReplace.setSearchString("