Confirmed users
1,396
edits
(→States) |
(→Text) |
||
| Line 1,049: | Line 1,049: | ||
<code> | <code> | ||
AccessibleDocument .''text'' | AccessibleDocument .''text(AccessiblePos)'' | ||
::Returns the text enclosed between this and given accessible positions. | ::Returns the text enclosed between this and given accessible positions. | ||
AccessibleDocument .''text'' | AccessibleDocument .''text(CriteriaLiteral)'' | ||
::Returns the text at the position complying the given criteria. See [[#Criteria|criteria]] for options. | ::Returns the text at the position complying the given criteria. See [[#Criteria|criteria]] for options. | ||
</code> | </code> | ||
| Line 1,103: | Line 1,103: | ||
p.textAttributes.get("font-weight") == 700; // true | p.textAttributes.get("font-weight") == 700; // true | ||
</pre> | </pre> | ||
==Caret and selection== | ==Caret and selection== | ||