void () { if (isFinished()) { return; } myDocumentChangesTerminateTemplate = false; final int oldVar = myCurrentVariableNumber; int previousVariableNumber = getPreviousVariableNumber(oldVar); if (previousVariableNumber >= 0) { focusCurrentHighlighter(false); calcResults(false); doReformat(); setCurrentVariableNumber(previousVariableNumber); focusCurrentExpression(); fireCurrentVariableChanged(oldVar); } }