0 Replies Latest reply on Jan 6, 2014 3:26 AM by kaniskar123

    Replace All functionality in TLF

    kaniskar123

      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