Accessibility/TextAttributes: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 28: Line 28:
: [out] the end offset of the result range
: [out] the end offset of the result range


Ranges are not nested. They are consecutive, so that AT's always know when to ask for the next range. For example, for text 'abc<pre><b></pre>def<pre></b></pre>ghi', there are three ranges (0, 3), (3, 6) and (6, 9).
Ranges are not nested. They are consecutive, so that AT's always know when to ask for the next range. For example, for text 'abc&lt;b&gt;def&lt;/b&gt;ghi', there are three ranges (0, 3), (3, 6) and (6, 9).


== Return Value ==
== Return Value ==
346

edits