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

last-line

Returns the number of the last line in the buffer. Lines are numbered starting with 0, so this is one less than the number of lines 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