Merge branch 'main' into update-items
This commit is contained in:
commit
fd8c26d585
@ -80,7 +80,7 @@ public:
|
||||
return std::string({first});
|
||||
case '-':
|
||||
skip(1);
|
||||
if (peekNoJump() == '-') {
|
||||
if (hasNext() && peekNoJump() == '-') {
|
||||
skip(1);
|
||||
return "--";
|
||||
}
|
||||
|
||||
@ -293,6 +293,7 @@ bool TextBox::eraseSelected() {
|
||||
}
|
||||
erase(selectionStart, selectionEnd-selectionStart);
|
||||
resetSelection();
|
||||
onInput();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user