Test for formats

Post Reply
Silvine
Posts: 142
Joined: Sat Oct 23, 2010 2:36 pm

Test for formats

Post 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()

Post Reply