Reports the number of scroll positions available within the buffer.
For wx:media-edit% objects: Calling this method may force the recalculation of location information, even if the buffer currently has delayed refreshing (see refresh-delayed?). If the buffer is not viewed (see Basic Organization) and a maximum width is set for the buffer, this method ignores the maximum width if the buffer has never been viewed, otherwise using the line breaks from the most recent view of the buffer (unadjusted by any insertions or deletions).