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