Changing the Style of Words in Field And Quotation Marks?
johnpatten at mac.com
Mon May 3 15:22:26 EDT 2010
I'm working on a little student utility that changes the text color
and underlines the individual word in the target field as they hit the
space bar. I'm wondering how I should handle passages of text that are
surrounded by quotation marks?
I was taking the text passage and stripping out the quotes to get the
total number of words in the field. Then using that number and
reducing it to target the specific words in the field to modify their
The quotation marks create a single word out of the phrase, and if I
attempt to delete a quote and then add it back the total number of
words in my variable is off. In any case, everything gets all wonky
when there are quotes in the passage...
Anyone done something similar?
More information about the Use-livecode