RunExtensions Class
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Helpers for iterating over a set of consecutive runs
public static class RunExtensions
Methods
CheckValid<T>(this IReadOnlyList<T>) | Check that a list of runs is valid |
CheckValid<T>(this IReadOnlyList<T>, int) | Check that a list of runs is valid |
GetInterectingRuns<T>(this IReadOnlyList<T>, int, int) | Given a list of consecutive runs, a start index and a length provides a list of sub-runs in the list of runs. |
GetIntersectingRunsReverse<T>(this IReadOnlyList<T>, int, int) | Given a list of consecutive runs, a start index and a length provides a list of sub-runs in the list of runs (in reverse order) |
TotalLength<T>(this IReadOnlyList<T>) | Get the total length of a list of consecutive runs |