set Text Alignment
Sets the text alignment for the current selection/cursor position.
Parameters
alignment
The text alignment to apply.
Sets the text alignment for the current selection/cursor position.
The text alignment to apply.