If width were to somehow change only for call to appendLines and then change back to its previous value, the cached line count would be bogus.