This is a scenario about pasting plain text, is that correct? I’d think of it this way: what if you typed in the same character sequence? What would/should happen as you hit return?
-Alex On 6/2/15, 7:28 PM, "Harbs" <harbs.li...@gmail.com> wrote: >I just filed a bug related to pasting multiple lines of text into a >TextFlow. This bug has apparently been around for a long time. I tested >using Flex 4.5, and it had the same problem there as it does today. > >I would like to work on the bug, but I have some questions on expected >behavior. > >First, it would be really great if someone could take my code that >illustrates the problem and turn it into a proper Unit Test so it’s >covered by the tests once it’s fixed. Piotr, are you up to that task? > >Now, about behavior: What should behavior be when text is pasted. >Presumably, the text should tai on the formatting of the text it’s being >pasted into. What if the text has multiple spans or paragraphs of >formatting? Should it pick up the formatting on a paragraph-by-paragraph >basis? What if the number of paragraphs do not match up? > >Harbs