mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-27 19:59:03 +00:00
LibGUI: Rename function to make intention clearer
This commit is contained in:
parent
50ca1b3d87
commit
791e881892
Notes:
sideshowbarker
2024-07-17 11:49:46 +09:00
Author: https://github.com/SimonFJ20
Commit: 791e881892
Pull-request: https://github.com/SerenityOS/serenity/pull/13633
Issue: https://github.com/SerenityOS/serenity/issues/11810
Reviewed-by: https://github.com/awesomekling
3 changed files with 4 additions and 4 deletions
|
@ -123,7 +123,7 @@ public:
|
|||
TextRange normalized_selection() const { return m_selection.normalized(); }
|
||||
|
||||
void insert_at_cursor_or_replace_selection(StringView);
|
||||
void replace_all_text_while_keeping_undo_stack(StringView text);
|
||||
void replace_all_text_without_resetting_undo_stack(StringView text);
|
||||
bool write_to_file(String const& path);
|
||||
bool write_to_file(Core::File&);
|
||||
bool has_selection() const { return m_selection.is_valid(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue