Angus Leeming wrote: > One other point (for Jürgen?): I think that a (working) isInsetVisible could > be used to advantage by BufferView::updateInset. Seems intelligent to only > redraw insets that are visible...
I think you didn't understand the Row::pos() variable/function. The pos returning from a row is the _first_ position of the first character of this row inside the Row::par(). You understand that in the visible rows you may have more than one paragraph and so the use of the start/end pos cannot work as you use it because most probably the lastrow is inside a different paragraph then the firstrow. Capito ;) Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Mitterstrich 151/A Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39050 Steinegg Web: http://www.lyx.org/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._