Le 15 juil. 09 à 19:31, Vincent van Ravesteijn - TNW a écrit :
What we are doing is to accept changes, which makes sense.
It would be possible however to set the buffer temporarily
before accepting the changes, or to accept the changes just
before pasting. Keeping the buffer set on the entries is
asking for trouble, since the buffer they've been copied
from may get deleted.

For acceptchanges, we're explicitly passing the bufferparams, only when
DEPM is called, we suddenly pass bparams.trackChanges only. We could
change this into bparams too and the problem is solved. Right ?

I do not think so. It is not normal to make changes to pass artificial
parameters to a method just because the buffer is set uncorrectly. We would be in the situation of having a bparams parameter and a buffer().params(), without
being able to know which one is correct.

I think setting the buffer to the inset before accepting changes, and resetting it
afterwards makes much more sense.

JMarc

Reply via email to