moai.DoMethod(id, "SetUnderline", start, end, flag)
start
and stop
coordinates. If the flag
argument is set to True
, underline style
will be added to the specified text block, otherwise underline style will be
removed from the text block.
Note that this feature requires Texteditor.Styled to be set to True
.