getRowFromIdPos returns row shifted by 1 (we count internally from 0).
The function still doesn't work properly looking at the
the comments of the original writer (last *nonempty* row),
but its hopefully better now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34172
a592a061-630c-0410-9148-
cb99ea01b6c8
}
if (!foundid)
return rowlist.size();
- return distance(rowlist.begin(), bestrow);
+ return distance(rowlist.begin(), bestrow) + 1;
}