I need a function that must find a word in my richedit, I have a richedit with a sentence, like this:
"she is working with my father and she is eating now"
When I need to find the word "she", my function will find "she" as being the first word, found it, it
must check if the word font color is clyellow, if so, then the function must go on until next word
"she", found the next "she" and not being in word font color clYellow, the function will stop there and
will change the color of "she".
If the word was found and changed its font color, the function will return true.
After finding the word, the function mustn't go on trying to find another word.
This function must have this parents
Function FindWordInText(Word: String; ColorToChange: Tcolor): Boolean
That it, I hope you can understand