Quantcast
Channel: Adobe Community : Discussion List - InDesign
Viewing all articles
Browse latest Browse all 65617

GREP replacement displaces character styles

$
0
0

I have a problem with GREP find and replace operations on text styled with character styles. If the operation involves deleting or adding any text, then the character styles of the following text are displaced. So for example:

 

fffhello bold text italic textfff

 

search for

f+(.+)f+

replace with

$1

 

would become

 

hello bold text italic text

 

It's as if the character style stays put while the characters themselves move. It doesn't happen with a text replace (e.g. find 'fff' and replace with nothing).

 

I'm using a Mac, and am currently on CS6 but I remember noticing it on CS5 and CS4 as well. (In fact, I raised it as a bug, and an engineer tried to persuade me that this was desired behaviour, though I can't imagine any circumstance under which it would be.) Does anyone know of any way around it?


Viewing all articles
Browse latest Browse all 65617

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>