I'm trying to paste text into a flex textarea. The text I'm pasting has newlines and tabs, but when I paste the text into the textarea, the tabs are stripped out.
If I comment out the CSS line font-family: EmbArial; the tabs will be preserved. I tried using different font files, but it didn't help.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Style>
Application
{
/*font-family: EmbArial; /*remove comment to show problem*/
}
@font-face
{
font-family: "EmbArial";
src: url("fonts/BKANT.TTF");
}
</mx:Style>
<mx:TextArea id="textStuff" width="300" height="100" text="Paste stuff with tabs!"/>
</mx:Application>
Full source here: johnuckele.com/TabProblem.zip
Any ideas?