[Ipe-discuss] Edit properties ipelet

Otfried Cheong otfried at cs.uu.nl
Fri Feb 25 15:54:00 CET 2005


>>Known bugs are that it flush the undo ring  :-!
>>
> I suppose it comes from the way objects are (by brute force) updated :
>
>      page->Delete();
>      XmlQStringSource xmlSource(dialog.textEdit->text());
>      page->Paste(layer, xmlSource, editDoc->Repository());
>
> Did you have some hints ?

No, in fact it comes from the call to IpeletHelper::EditDocument, which
resets the undo ring.

I guess there should be a way for an Ipelet to get a non-const version of
the document repository.  I'll look into that "soon".

Otfried





More information about the Ipe-discuss mailing list