Change Case Feature

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
sskaggs
Posts: 24
Joined: Mon Oct 22, 2007 8:50 pm
Location: Evansville, IN
Contact:

Change Case Feature

Post 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.
Steve Skaggs
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

You realize the change case functionality works on whatever you have highlighted, correct?
I choose to fight with a sack of angry cats.
sskaggs
Posts: 24
Joined: Mon Oct 22, 2007 8:50 pm
Location: Evansville, IN
Contact:

Post 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.
Steve Skaggs
Art Metzer
Posts: 27
Joined: Mon Mar 06, 2006 5:31 pm

Re: Change Case Feature

Post by Art Metzer »

Perhaps you could modify the regular expression referenced here to meet your needs...?
sskaggs
Posts: 24
Joined: Mon Oct 22, 2007 8:50 pm
Location: Evansville, IN
Contact:

Thanks

Post 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.
Steve Skaggs
Post Reply