* Licence details can be found in the file COPYING.
*
* \author Matthias Ettrich
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author John Levon
*
* Full author contact details are available in file CREDITS.
rowlist.push_back(tmp);
}
+void TexRow::newlines(int num_lines)
+{
+ for (int i = 0; i < num_lines; ++i) {
+ newline();
+ }
+}
bool TexRow::getIdFromRow(int row, int & id, int & pos) const
{
}
if (!foundid)
return rowlist.size();
- return distance(rowlist.begin(), bestrow);
+ return distance(rowlist.begin(), bestrow) + 1;
}