StyledText.AddStyleRun

From Xojo Documentation

Method

StyledText.AddStyleRun(Run as StyleRun)

New in 2019r2

Supported for all project types and targets.

Adds 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.AddStyleRun(textarea1.Styledtext.StyleRun(0))