Instance Method

unscript(_:)

This action method removes any superscripting or subscripting from selected text (or all text if the receiver is a plain text object).

Declaration

func unscript(_ sender: Any?)

See Also

Setting superscripting and subscripting

func superscript(Any?)

This action method applies a superscript attribute to selected text (or all text if the receiver is a plain text object), raising its baseline offset by a predefined amount.

func `subscript`(Any?)

This action method applies a subscript attribute to selected text (or all text if the receiver is a plain text object), lowering its baseline offset by a predefined amount.