On 28-Nov-2001 John Levon wrote:
> 
> OK, it seems that the lyxtext of the new cell is OK, but its cursor
> is still pointing to the wrong row/par.

I fixed this. The problem was that the paragraph got "realoccated" and
LyXText was not reinitialized, obviously then if we operate on row->par()
inside LyXText we'll have a problem ;)

> How can this situation come about ? My attempts to reset the lt's cursor
> all crash fairly soon after. I can unlock the full table inset on delete row,
> but when I click back into it, you get similar crashes with wrong cursors.

The lt->cursor obviusly had a pointer to a freed paragraph, therefore the crash!

> Just a couple of pointers (no pun intended) would be good ...

Well there are a lot pointers used in the source just choose one ;P

> This locking_inset vs. cursor multitude vs lockInsetinInset, lockInset etc. stuff
> is /really/ unclear - I really think some sourcedocs for it would help more than
> a little :(

Just start to write some I'll try to explain you whatever "direkt" and
"precise" question you may have. I have small time to fix bugs, guess how
much time I have to write documentation ;)

         Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Intolerance is the last defense of the insecure.

Reply via email to