4 Replies Latest reply on Dec 11, 2012 1:54 AM by [Jongware]

    [JS][CS5.5] how to know the character position into story after grep ?

    petiout

      Hi All,

       

      I wich to know how can i know the position of my first character into its parent story, after a findGrep replace ?

       

      As exemple my story contain :

       

      Lorem ipsum dolor sit amet, consectetur adipiscing elit.

       

      i search for dolor and replace it by TEST

       

      Lorem ipsum TEST sit amet, consectetur adipiscing elit.

       

      how can i know the T position relative to the story, when i get an insertionPoint after changeText ?

       

      Thx