transport.song_length.line

renoise.song().transport.song_length.line returns number of lines of last order/pattern, but should return total number of lines in song?

I can’t see much about it in the docs.

This is a SongPos object with (#patterns, #lines) and not the total number of lines in the song.

I don’t understand what it is returning. Maybe the documentation needs to be clarified.

renoise.song().transport.song_length.sequence seems to return either the number of sequences or the maximum sequence number.

Setting the last pattern to 1 line will make it return “2”… hmmm

renoise.song().transport.song_length.sequence returns the last sequence position

renoise.song().transport.song_length.line does look a bit fishy:
-returns the amount of lines for the last pattern (and the last pattern only).
-it returns 65 for a 64 row sized pattern