Maybe if you could give a sample text and the words that should be highlighted we can advise you better. But in a nutshell I would use one or more RegExp if the words you are looking for are only a few different ones. If there are many or there is a complex syntax that needs to be analyzed then probably you should look into a string tokenizer.
- Benny -----Oorspronkelijk bericht----- Van: [email protected] [mailto:[email protected]] Namens ktt Verzonden: maandag 16 augustus 2010 0:26 Aan: [email protected] Onderwerp: [Flashcoders] Highligting words in a textField Hello, I have a multiline text in a dynamic textfield with a scroll. How is it possible to higlight some words in a textFiled which is splited to lines (\n) ? Thank you in advance, Ktt _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __________ Informatie van ESET NOD32 Antivirus, versie van database viruskenmerken 5368 (20100815) __________ Het bericht is gecontroleerd door ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

