Do rows[start, end) form a single instance of the given paragraph model?
| 1806 | |
| 1807 | // Do rows[start, end) form a single instance of the given paragraph model? |
| 1808 | bool RowsFitModel(const GenericVector<RowScratchRegisters> *rows, |
| 1809 | int start, int end, const ParagraphModel *model) { |
| 1810 | if (!AcceptableRowArgs(0, 1, __func__, rows, start, end)) |
| 1811 | return false; |
| 1812 | if (!ValidFirstLine(rows, start, model)) return false; |
| 1813 | for (int i = start + 1 ; i < end; i++) { |
| 1814 | if (!ValidBodyLine(rows, i, model)) return false; |
| 1815 | } |
| 1816 | return true; |
| 1817 | } |
| 1818 | |
| 1819 | // Examine rows[row_start, row_end) as an independent section of text, |
| 1820 | // and mark rows that are exceptionally clear as start-of-paragraph |
no test coverage detected