private static void ResetComplete(State newState) { if (state == State.Completing) { tabCount = -1; savePosn = -1; } state = newState; }