File tree 1 file changed +2
-2
lines changed
2-ui/99-ui-misc/02-selection-range
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ The range object that we created in the example above has following properties:
217
217
218
218
## Range selection methods
219
219
220
- There are many convenience methods to manipulate ranges.
220
+ There are many convenient methods to manipulate ranges.
221
221
222
222
We've already seen ` setStart ` and ` setEnd ` , here are other similar methods.
223
223
@@ -438,7 +438,7 @@ As text: <span id="astext"></span>
438
438
439
439
## Selection methods
440
440
441
- We can work with the selection by addding /removing ranges:
441
+ We can work with the selection by adding /removing ranges:
442
442
443
443
- `getRangeAt(i)` -- get i-th range, starting from `0`. In all browsers except Firefox, only `0` is used.
444
444
- `addRange(range)` -- add `range` to selection. All browsers except Firefox ignore the call, if the selection already has an associated range.
You can’t perform that action at this time.
0 commit comments