Op 28-4-2013 19:00, Richard Heck schreef:
As things are, we actually do need to mark it as exporting, because
otherwise we do not collect the right information during updateMacros.
Some of the logic here could be changed, but there are other places we
want to know if we are doing an export, and the best place to keep
that flag seems to be in the Buffer itself.
I actually meant that using MarkAsExporting is inappropriate because its
main use is to make sure that the flag is reset. And well.. resetting is
not needed if we delete the buffer.
We actually need a different "mark" here. We should NOT be converting
all the images to pngs or whatever just because we are copying HTML to
the clipboard. I've been meaning to have a look at this myself.
I've attached a patch that is at least proof of concept.
I already committed something the same.
Vincent