mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 01:00:50 +01:00
[apps/escher] Fix "Clear" event handling in TextFieldWithExtension
This commit is contained in:
@@ -96,9 +96,13 @@ bool TextInput::insertTextAtLocation(const char * text, int location) {
|
||||
}
|
||||
|
||||
bool TextInput::removeEndOfLine() {
|
||||
if (contentView()->removeEndOfLine()) {
|
||||
if (privateRemoveEndOfLine()) {
|
||||
scrollToCursor();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool TextInput::privateRemoveEndOfLine() {
|
||||
return contentView()->removeEndOfLine();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user