assertEquals(20, editResult.caretPositionAfterEdit);
}
public void testParameterReplacementFirst()
{
final ParameterUpdateEvent event = new ParameterUpdateEvent(this, 0, "SUM(1; (1 + 1))", false);
final FormulaDocument doc = new FormulaDocument();
doc.setText("=IF(;;)");
final FunctionInformation fn = doc.getFunctionForPosition(1);
final FunctionParameterEditHelper.EditResult editResult =