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