On May 3, 2010, at 1:22 PM, John Patten wrote:

> Hi All...
> 
> 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  
> text style.
> 
> 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...

John, 

You might try simply replacing the quotes with "curled" quotes, which Rev 
doesn't see as real quote marks. You'd have to account for cross-platform 
differences, however.

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to