mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +00:00
TextEditor: Use FileSystemAccessClient::try_* APIs
This commit is contained in:
parent
effb19f996
commit
f674102447
Notes:
sideshowbarker
2024-07-17 20:34:26 +09:00
Author: https://github.com/mustafaquraish
Commit: f674102447
Pull-request: https://github.com/SerenityOS/serenity/pull/11968
Reviewed-by: https://github.com/TobyAsE
5 changed files with 33 additions and 71 deletions
|
@ -123,7 +123,7 @@ public:
|
|||
|
||||
void insert_at_cursor_or_replace_selection(StringView);
|
||||
bool write_to_file(String const& path);
|
||||
bool write_to_file_and_close(int fd);
|
||||
bool write_to_file(Core::File&);
|
||||
bool has_selection() const { return m_selection.is_valid(); }
|
||||
String selected_text() const;
|
||||
size_t number_of_words() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue