>Le 15 juil. 09 à 19:39, Jean-Marc Lasgouttes a écrit : >> I think setting the buffer to the inset before accepting changes, and >> resetting it afterwards makes much more sense. > >Here is a patch where I re-apply the acceptChanges >simplification and add some magic code in CutAndPaste.cpp. >The casts look a bit ugly, and a few comments would help, >but I think this is the right thing to do nevertheless.
Didn't you remove the parameter from paragraph_funcs.cpp::acceptChanges ? if (!isFullyDeleted(copy_pars)) acceptChanges(copy_pars, buf.params()); Vincent