mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb+WebContent+UI: Port text pasting to UTF-16
This commit is contained in:
parent
ca082d6d73
commit
efa9311527
Notes:
github-actions[bot]
2025-09-19 10:39:52 +00:00
Author: https://github.com/trflynn89
Commit: efa9311527
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6228
15 changed files with 19 additions and 20 deletions
|
|
@ -2576,7 +2576,7 @@ void Navigable::select_all()
|
|||
}
|
||||
}
|
||||
|
||||
void Navigable::paste(String const& text)
|
||||
void Navigable::paste(Utf16String const& text)
|
||||
{
|
||||
auto document = active_document();
|
||||
if (!document)
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ public:
|
|||
|
||||
String selected_text() const;
|
||||
void select_all();
|
||||
void paste(String const&);
|
||||
void paste(Utf16String const&);
|
||||
|
||||
Web::EventHandler& event_handler() { return m_event_handler; }
|
||||
Web::EventHandler const& event_handler() const { return m_event_handler; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue