Test for formats

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

Test for formats

Post by Silvine » Thu Dec 19, 2013 1:44 pm

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

Who is online

Users browsing this forum: No registered users and 3 guests