Skip to main content
March 16, 2011
Question

Find Replace in TLF editor

  • March 16, 2011
  • 2 replies
  • 744 views

Hi,

I have created a Text editor using TLF 2. I want to add the Find/Replace and Search options to that.

Please share your thoughts on how to do that...

Is there any specific tool or library I can use for this?

Thanks

This topic has been closed for replies.

2 replies

Adobe Employee
March 25, 2011

There are some private libs in Flash Authoring team to do such editing jobs using TLF , but I cannot access them now.

Adobe Employee
March 21, 2011

Just my opinion,

1. get the target textflow from the selected text ( the whole textflow or just the selected part)

2. export as a markup string

3. take advantage of an appropriate regular expression to modify that string

4. import the result string

5. do some extra job

March 24, 2011

Thanks Jin-Huang . That is one option I should try.

But, before doing that, I want to make sure whether there is an easier way to directly do it uisng Textflow or whether there is any tools/libraries that can be used with TLF.

If there's any one who has done a find replace or a search in TLF please let me know.

Thanks