I use CallForSelectedText with the TWPCharAttrCallback to allow me to optionally change fonts and sizes of certain characters. I also want the font and size to change on blank paragraphs but it isn't working for that since there aren't any characters.
For example, if all my text is 12pt but a few empty paragraphs are in 11pt and I use the TWPCharAttrCallback to change all chars to 10pt, it works except the blank paragraphs are still set to 11pt. If you start typing on those blank lines, the text is in the font and size of that paragraph.
I know that if I had the cursor on that line and change it via WPRichText1.CurrAttr.Size, it works because it references the Cursor.WritingTextAttr (if nothing is selected), but how do I do that in CallForSelectedText in which case it would change everything but as I mentioned, I conditionally change certain chars? I thought about looking for blank paragraphs in the TWPParCallback, but that is where I am stuck when I do find an empty par... how to change the blank paragraph's font, size and style?
Hopefully an easy answer, thanks.