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

line-paragraph

Returns the paragraph number of the paragraph containing the line. Lines are numbered starting with 0. Paragraphs are numbered starting with 0.

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