collectAllStyles method
Returns all styles for any character within the specified text range.
Implementation
List<Style> collectAllStyles(int index, int len) {
final res = queryChild(index);
return (res.node as Line).collectAllStyles(res.offset, len);
}