Skip navigation
kaniskar123
Currently Being Moderated

Replace All functionality in TLF

Jan 6, 2014 3:26 AM

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,

 

Message was edited by: kaniskar Goodwin

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points