On Tue, Jun 13, 2006 at 08:49:57PM +0300, Martin Vermeer wrote:
> ===================================================================
> --- insettabular.C    (revision 14084)
> +++ insettabular.C    (working copy)
> @@ -332,6 +332,29 @@
>       setPosCache(pi, x, y);
>  
>       LCursor & cur = pi.base.bv->cursor();
> +
> +     x += scx_ + ADD_TO_TABULAR_WIDTH;
> +
> +     // Here we take the cursor slice that is the tabular.
> +     lyx::size_type d = 0; 
> +     for (; d < cur.depth(); d++) {
> +             if (ptr_cmp(&cur[d].inset(), this))
> +                     break;
> +     }
> +     CursorSlice const & sl = cur[d];

That seems to assume that such drawing only happens when the cursor 
is inside the inset. Is this guaranteed?

Andre'

Reply via email to