Implement rotating digits for line number digit overflow.