+1
 

-----Original Message-----
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: October-13-14 4:33 PM
To: dev@flex.apache.org
Subject: Re: git commit: [flex-tlf] [refs/heads/develop] - FLEX-34592: Can't
use optionnal importer for TLF plainTextFormat and TextLayoutFormat

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

Reply via email to