Whitespace issue on Textlayout Framework export to string
Hello,
I'm using Text Layout Framework running on Flex 3.2. I'm trying to export the contents of a editable textFlow area as a string that retains full white space information, but that doesn't seem to be working. For instance, if there are two white spaces after a period in between different spans (let's say I bold some text, or change the font), they ends up getting truncated out in the export to string. This is the code that I'm using to perform the export in my editor.
public function get text():String {
return TextFilter.export(_textFlow, TextFilter.PLAIN_TEXT_FORMAT, ConversionType.STRING_TYPE ).toString();
}
