[previous] [up] [next]     [contents] [index]
Next: last-position Up: wx:media-edit Previous: last-line

last-paragraph

Returns the number of the last paragraph in the buffer. Paragraphs are numbered starting with 0, so this is one less than the number of paragraphs in the buffer.

Calling this method may force the recalculation of location information if a maximum width is set for the buffer, 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).



PLT