Rename moveStart to moveStartForwards
So it it's clear what it does Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
609196a240
commit
d36f8ccb95
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ export default class Range {
|
|||
this._end = bIsLarger ? positionB : positionA;
|
||||
}
|
||||
|
||||
moveStart(delta: number) {
|
||||
moveStartForwards(delta: number) {
|
||||
this._start = this._start.forwardsWhile(this.model, () => {
|
||||
delta -= 1;
|
||||
return delta >= 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue