Juergen Vigna <[EMAIL PROTECTED]> writes:

| Lars I already told you this, but now I'm sure. To have a proper undo handling
| I NEED an ID for every inset, well I would only need one for UpdatableInset.
| So what should I do. Or do you want to do this?
| 
| The problem is that after an undo and I'm inside an inset with the cursor
| the cursor should remain inside that inset IF it still exists! As the undo
| can make the pointer to the inset change and searching of an inset on
| <par>/<pos> is not enough for insets-inside-inset! we need the above ID.

I do not quite get it.
Ok... I see... hmm... no real problem to add an id.

add an

static unsigned int id;

to updatable inset then, with the accessor methods that it also needs.
+ changes in the constructor.

-- 
        Lgb

Reply via email to