return null;
}
private void replaceDisplayedExpression(String newExpression, ScriptPage page) {
ScriptBuilderUi ui = page.getScriptBuilder();
ExpressionArea area = ui.getExpressionArea();
area.requestFocus();
int caretPosition = area.getCaretPosition();
// TODO: ExpressionArea.setText blanks out the undo-redo history.
// We don't want to do that here.
area.setText(newExpression);
caretPosition = Math.min(caretPosition, area.getDocument().getLength());
area.setCaretPosition(caretPosition);
}