Are you trying to allow replacing of words broken into different elements?
 Like replacing "foobar" in <bold>foo</bold><italic>bar</italic>?

If not, it might be faster to simply walk the text flow's text elements
and run replace in each one.

On 1/6/14 2:10 AM, "Kanishkar" <kaniska...@solvedge.com> wrote:

>Hi Flex,
>
>             
>
>                      I have proud to use Flex application. Now I am
>working
>in TLF(TextFlow Layout Framework). I am trying Replace All functionality
>in
>TextFlow, I can do replace limited number text in textFlow. I did below
>steps to do replace all :-
>
> 
>
>1)      TextFlow convert to string type
>
>2)      Find Text Range in TextFlow
>
>3)      Did replace below steps
>
> 
>
>       var em:EditManager = Textflow.interactionManager as EditManager;
>
>      em.selectRange(startposition,Endpostion);
>
>
>      em.insertText(ReplaceString);
>
> 
>
>     If I want replace above 500 text in TextFlow By Replace All
>Functionality, I will do 500 times find the word and do replace above
>mentioned ways. So, I faced performance and hanging issue in textFlow. Did
>have any Replace All manager in TextFlow.  If have any solution for this
>issue, can you give the solution.
>
> 
>
>Sorry for my English
>
> 
>
>Thank you for Advance,
>
> 
>
>Regards
>
>Kaniskar.T
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>

Reply via email to