Confirmed users
1,396
edits
(→Text) |
|||
| Line 1,106: | Line 1,106: | ||
p.textAttributes.get("font-weight") == 700; // true | p.textAttributes.get("font-weight") == 700; // true | ||
</pre> | </pre> | ||
==Caret and selection== | ==Caret and selection== | ||
| Line 1,128: | Line 1,129: | ||
AccessibleDocument .''selectionStart'' | AccessibleDocument .''selectionStart'' | ||
::Get/set selection start. | ::Get/set selection start. | ||
AccessibleDocument .''selectionEnd'' | AccessibleDocument .''selectionEnd'' | ||
| Line 1,135: | Line 1,135: | ||
<b>Example</b> | <b>Example.</b> | ||
<pre> | <pre> | ||