Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5f0fd94

Browse files
committedJul 1, 2019
minor
1 parent 4bffd18 commit 5f0fd94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎2-ui/99-ui-misc/02-selection-range/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Let's select `"Example: <i>italic</i>"`. That's two first children of `<p>` (cou
9494
```
9595

9696
- `range.setStart(p, 0)` -- sets the start at the 0th child of `<p>` (that's a text node `"Example: "`).
97-
- `range.setEnd(p, 2)` -- spans the range up to (but not including) 2nd child of `<p>` (that's a text node `" and "`, but as the end is not included, the last selected node is `<i>`).
97+
- `range.setEnd(p, 2)` -- spans the range up to (but not including) 2nd child of `<p>` (that's a text node `" and "`, but as the end is not included, so the last selected node is `<i>`).
9898

9999
Here's a more flexible test stand where you try more variants:
100100

0 commit comments

Comments
 (0)
Please sign in to comment.