I have a script that checks for differences between baselines. When something has been added, the item becomes blue and underlined (the default). After reading the DXL Manual, I saw that I am able to change this behavior. Because underscores are hidden behind this text, I want to change the diff function to make the text blue and italics instead. I have tried:
diff(bufResult, bufSource, bufTarget, "\\cf1\\strike ", "\\cf3\\i "); as well as diff(bufResult, bufSource, bufTarget, "\\cf1\\strike ", "\\cf3\\italics "); but when I perform the diff function, new items don't get any formatting at all. So what am I doing wrong? Any and all help is very much appreciated.
Chris chrscote - Tue Mar 07 14:52:27 EST 2017 |
Re: Changing font attributes for diff text I tried out your formats "\\cf1\\strike ", "\\cf3\\i " in the script example of diff function (see DXL reference) and they worked fine. Maybe you should see how that example works and based on that code check your own code. |