[Core] Language system
This commit is contained in:
parent
7328e27862
commit
48dd843cf0
1 changed files with 3 additions and 0 deletions
|
|
@ -87,6 +87,9 @@ public:
|
||||||
_offset -= extent;
|
_offset -= extent;
|
||||||
_length += extent;
|
_length += extent;
|
||||||
}
|
}
|
||||||
|
void extendToRight(int extent) {
|
||||||
|
_length += extent;
|
||||||
|
}
|
||||||
void shrinkFromRight(int shrink) {
|
void shrinkFromRight(int shrink) {
|
||||||
_length -= shrink;
|
_length -= shrink;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue