new CommentSpec("--", StringUtilities.getEolStr())
};
String statementSep = _session.getQueryTokenizer().getSQLStatementSeparator();
CodeReformator cr = new CodeReformator(statementSep, commentSpecs);
String reformatedText = cr.reformat(textToReformat);
api.getSQLEntryPanel().setSelectionStart(bounds[0]);
api.getSQLEntryPanel().setSelectionEnd(bounds[1]);
api.getSQLEntryPanel().replaceSelection(reformatedText);