Range.Length

From Xojo Documentation

Property (As Integer )
aRange.Length = newIntegerValue
or
IntegerValue = aRange.Length

Supported for all project types and targets.

The length of the StyleRun.