StyledText.AppendStyleRun

From Xojo Documentation

Method

StyledText.AppendStyleRun(Run as StyleRun)

Supported for all project types and targets.

Appends the StyleRun passed to the end of Text.

Example

This example uses a StyleRun that is displayed in another TextArea and appends it to the StyledText that is displayed in another TextArea.

TextArea2.StyledText.AppendStyleRun(textarea1.Styledtext.StyleRun(0))