mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[escher] TextArea handles Paste event.
Change-Id: I33c0d21093f94edd987d7f4d2f7fd7363a1ee525
This commit is contained in:
@@ -359,8 +359,9 @@ bool TextArea::handleEvent(Ion::Events::Event event) {
|
||||
if (!m_contentView.removeEndOfLine()) {
|
||||
m_contentView.removeStartOfLine();
|
||||
}
|
||||
} else
|
||||
{
|
||||
} else if (event == Ion::Events::Paste) {
|
||||
insertText(Clipboard::sharedClipboard()->storedText());
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
/* Technically, we do not need to overscroll in text area. However,
|
||||
|
||||
Reference in New Issue
Block a user