Page 1 of 1

Change Case Feature

Posted: Thu Apr 23, 2009 7:49 pm
by sskaggs
I'd like the ability to limit the text to be changed when using any of the "Change Case" features to only text outside of quotes (single / double). There may be other delimiters that would be desired as well, so a configurable option would really be an even better feature.

Posted: Thu Apr 23, 2009 8:06 pm
by talleyrand
You realize the change case functionality works on whatever you have highlighted, correct?

Posted: Fri Apr 24, 2009 4:02 pm
by sskaggs
Yes ... I realize that, but I am hoping to have the option to ignore anything contained within a set of delimiters even if it is highlighted. Items within quotes are often set to be a certain case intentionally; if these were changed, the code may work differently or not at all. The ability to ignore this text would allow the logic of these constants to be unchanged while still modifying the case of the remainder of the text.

Re: Change Case Feature

Posted: Sat Apr 25, 2009 12:12 pm
by Art Metzer
Perhaps you could modify the regular expression referenced here to meet your needs...?

Thanks

Posted: Mon May 04, 2009 6:50 pm
by sskaggs
That is really excellent. Thanks for the help. I had not considered trying to do something like this, but this should work perfectly. I've already made a new macro containing these search strings, and I'm happy with the results.