I you modify something is found - you exclude this from find array same step, I think,
so changeGrep doesn't touch this.
But you still have specific font in those parts of text you modified char order...
Can't you make it in two separate steps?
1. find - change order
2. find - replace
Two seperate steps does sound like what I am trying to do, however that is what I am not sure how to do. If I get an array of found objects with findGrep() I can modify them, but then what do I do with that modified array?
Texhnically, you do NOT get a 'new array' of objects. They are live pointers to the live text, and if you change something in 'the array' you will see the oiriginal text changes.
If you use findGrep instead of changeGrep, you'll get an array of found items in return. Change any of the at will -- but remember, since this array represent pointers into the text, it's possible that a change in the document makes them invalid. The usual solution is making the changes backwards, so even if something else changes after you did your stuff, it won't matter. (The very simplest way of ensuring the Found text array is in reverse order is to tell findGrep to search in reverse order -- an option that's unavailable in the UI itself.)
Thanks, I did not know about the the findGrep results beint pointers to the actual words within the document. That should be what I need to use then to accomplish this, and yes, I'll use the reverse order parameter.