Subject: | new method get_next_page_number |
During the event handlers (usually the preNext), the programmer often
needs to know what page is coming next, in order to make sure the right
thing appears. In the past, it was sufficient to assume that pagePtr+1
was the next page. However, the introduction of the Skip mechanism can
break that assumption.
I propose a new method get_next_page_number() that takes Skip into
account to calculate what the next page will be.
(We'll probably create another new method get_back_page_number() at
the same time)
--
- - Martin 'Kingpin' Thurn