Jean-Marc Lasgouttes wrote: > Please don't, this is very expensive in memory. Doing a recordUndo for > each inset (with cursor in the paragraph containing the inset) should > just work (the undo group is created in the LyXFunc::dispatch > machinery).
on the other hand this lfun would be called once a while only... pavel