Check if TextRange is Start of Paragraph (<$chapnum> variable)
I'm working on a function to clone the case of replacement text (change). I can make many of the decisions on how to clone the replacement text (e.g., all caps, initial caps each word, or initial caps first word, etc.) based on the pgf[style].name. However, the body text in our documents (chpara0, chsubpara1, etc.) start with a title followed by a period, then more paragraph text. The first sentence (pgf title) is identified by a variable that includes <$chapnum> and the Paragraph Designer identifies the Position as "Start of Paragraph." If my found text occurs in this section of the paragraph, I need to clone the change text so each word is an initial capital letter (i.e., title caps).
I've looked over a number of posts to this forum, but haven't run across anything that indicates how to identify this text from within a script.
