Highlights are just graphics drawn into the TextLines. The TextLines should be children of the RichEditableText and you can use TextLine APIs to find atom/character positions.
On 5/27/10 6:48 PM, "Baz" <[email protected]> wrote: Now that some time's gone by, what is the best way in Flex 4 to get the coordinates of a specific character? I would like to highlight keywords in a RichEditableText component - very much like this example: http://flexdevtips.blogspot.com/2010/05/highlight-scrollbar-track.html (view source enabled) Another way would be to dynamical create <s:span>'s with their own "highlight" style when you encounter a keyword. What's a nice clean Flex 4 way to highlight words in a text? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

