Merge pull request #3051 from josephharkins/josephharkins-patch-2
Spelling error and grammar
This commit is contained in:
commit
08d5c71e2f
1 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ The range object that we created in the example above has following properties:
|
|||
|
||||
## Range selection methods
|
||||
|
||||
There are many convenience methods to manipulate ranges.
|
||||
There are many convenient methods to manipulate ranges.
|
||||
|
||||
We've already seen `setStart` and `setEnd`, here are other similar methods.
|
||||
|
||||
|
@ -438,7 +438,7 @@ As text: <span id="astext"></span>
|
|||
|
||||
## Selection methods
|
||||
|
||||
We can work with the selection by addding/removing ranges:
|
||||
We can work with the selection by adding/removing ranges:
|
||||
|
||||
- `getRangeAt(i)` -- get i-th range, starting from `0`. In all browsers except Firefox, only `0` is used.
|
||||
- `addRange(range)` -- add `range` to selection. All browsers except Firefox ignore the call, if the selection already has an associated range.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue