I am trying to build a custom editor based on TextArea with htmlText. 
It is very difficult given the incomplete implementation. Earlier, I 
reported that there was no straightforward way to deal with filtering 
characters. Today's issue is with Ctrl-C copy to clipboard. 

Guess what? If you set htmlText, then select a region of text that 
includes line breaks, hit Ctrl-C and paste it anywhere, you get exactly 
1 line of plain text with no line breaks. That's right, this is 
worthless.

I tried to see if I could detect a Ctrl-C to circumvent this behavior 
with no luck. None of the relevant keyDown handlers can trap Ctrl-C. 
Most likely the Flash TextField steals it before anyone can detect it.

Anyone have a clue how to copy text to the clipboard when using 
htmlText? Or as a workaround, any clue on how to detect I've pressed 
Ctrl-C? If so, I could do my own work to copy to clipboard.

Reply via email to