|
|
@ -126,7 +126,7 @@ class Document { |
|
|
|
return (res.node as Line).collectStyle(res.offset, len); |
|
|
|
return (res.node as Line).collectStyle(res.offset, len); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// Returns all style for any character within the specified text range. |
|
|
|
/// Returns all styles for any character within the specified text range. |
|
|
|
List<Style> collectAllStyles(int index, int len) { |
|
|
|
List<Style> collectAllStyles(int index, int len) { |
|
|
|
final res = queryChild(index); |
|
|
|
final res = queryChild(index); |
|
|
|
return (res.node as Line).collectAllStyles(res.offset, len); |
|
|
|
return (res.node as Line).collectAllStyles(res.offset, len); |
|
|
|