Instance Method

alignJustified(_:)

An action method that applies full justification to selected content or all content if there’s no selection.

Declaration

func alignJustified(_ sender: Any?)

Parameters

sender

The object that sent this message.

Discussion

This method behaves similar to the alignJustified(_:) method in NSTextView.

See Also

Content Alignment Action Methods

func alignCenter(Any?)

An action method that applies center alignment to selected content or all content if there’s no selection.

func alignLeft(Any?)

An action method that applies left justification to selected content or all content if there’s no selection.

func alignRight(Any?)

An action method that applies right justification to selected content or all content if there is no selection.