Page 1 of 1

Test for formats

Posted: Thu Dec 19, 2013 1:44 pm
by Silvine
Is there any way to test if text is underlined? I'm using the below but cant help feeling there must be a better way.

in a trigger
Regex
(.*)

code
selectCurrentLine()
setUnderline(false)
deselect()
resetFormat()