mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
again
This commit is contained in:
parent
35fdd475ee
commit
f47c7d00a2
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ void TextBox::stepDefaultUp(bool shiftPressed, bool breakSelection) {
|
||||||
uint offset = std::min(size_t(maxLocalCaret), getLineLength(caretLine-1)-1);
|
uint offset = std::min(size_t(maxLocalCaret), getLineLength(caretLine-1)-1);
|
||||||
setCaret(label->getTextLineOffset(caretLine-1) + offset);
|
setCaret(label->getTextLineOffset(caretLine-1) + offset);
|
||||||
} else {
|
} else {
|
||||||
setCaret(0UL);
|
setCaret(static_cast<size_t>(0));
|
||||||
}
|
}
|
||||||
if (shiftPressed) {
|
if (shiftPressed) {
|
||||||
if (selectionStart == selectionEnd) {
|
if (selectionStart == selectionEnd) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue