Home › Forums › General XMetaL Discussion › Highlighting and coloring text › Reply To: Highlighting and coloring text
Reply to: Highlighting and coloring text
March 13, 2010 at 6:46 pmOne more thing that would make the function in my last post more efficient. If you only every need to set ContainerStyle for a specific element, pass that element's name in as a parameter of the MoveToElement() method, so in my script and assuming your element name “colorFont”:
rng.MoveToElement("colorFont");