flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: git commit: [flex-tlf] [refs/heads/develop] - FLEX-34592: Can't use optionnal importer for TLF plainTextFormat and TextLayoutFormat
Date Mon, 13 Oct 2014 22:32:39 GMT
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

Mime
View raw message