mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 16:57:34 +00:00
LibWeb: Implement CharacterData.{append,insert,delete}Data
This commit is contained in:
parent
af5b4ae1c4
commit
ee719870c8
3 changed files with 27 additions and 0 deletions
|
@ -28,6 +28,9 @@ public:
|
|||
unsigned length() const { return m_data.length(); }
|
||||
|
||||
ExceptionOr<String> substring_data(size_t offset, size_t count) const;
|
||||
ExceptionOr<void> append_data(String const&);
|
||||
ExceptionOr<void> insert_data(size_t offset, String const&);
|
||||
ExceptionOr<void> delete_data(size_t offset, size_t count);
|
||||
ExceptionOr<void> replace_data(size_t offset, size_t count, String const&);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue