setBold

open fun setBold(bold: Boolean)

Sets the bold property for the current selection/cursor position.

Parameters

bold

true to make the text bold, false to remove bold formatting.