(rows, c, height, bottomReserved)
| 621 | |
| 622 | |
| 623 | def FindAlternativeRow(rows, c, height, bottomReserved): |
| 624 | res = 0 |
| 625 | for row in range(height-bottomReserved-math.ceil(c[7])): |
| 626 | if not rows[c[4]][row]: |
| 627 | return row |
| 628 | elif rows[c[4]][row][0] < rows[c[4]][res][0]: |
| 629 | res = row |
| 630 | return res |
| 631 | |
| 632 | |
| 633 | def MarkCommentRow(rows, c, row): |