Hi, Wouldn't a better patch have been this?
if (textFlow) {
textScrap = new TextScrap(textFlow);
if (format == TextConverter.PLAIN_TEXT_FORMAT)
textScrap.setPlainText(true);
else if (format == TextConverter.TEXT_LAYOUT_FORMAT)
textScrap.setPlainText(false);
}
Thanks,
Justin
