InsetText is not copyable. Well, it formally is, but it does not work. I suspect the TextCursor part in 'its' LyXText to be the cause, most notable the ParagraphList::iterators in there.
I came to this conclusion it out when trying to figure out why tabulars are buggy. I have a fix for the 'empty table after insert-row' bug based on swapping things instead of copying them around. Unfortunately this does not fix other problems in this area, so we should put some effort in making InsetText copiable. I can think of a few possible ways out, like using integer offsets instead of iterators. None of them is nice. Does anybody here have an idea how a good solution might look like (other than 'split text & cursor')? Andre'