mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibWeb: Implement Text.splitText(offset)
With FIXMEs about updating live ranges, but still.
This commit is contained in:
parent
8bc3f4c186
commit
d2f9f8bd4f
3 changed files with 53 additions and 0 deletions
|
@ -30,6 +30,8 @@ public:
|
|||
void set_owner_input_element(Badge<HTML::HTMLInputElement>, HTML::HTMLInputElement&);
|
||||
HTML::HTMLInputElement* owner_input_element() { return m_owner_input_element; }
|
||||
|
||||
ExceptionOr<NonnullRefPtr<Text>> split_text(size_t offset);
|
||||
|
||||
private:
|
||||
WeakPtr<HTML::HTMLInputElement> m_owner_input_element;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue