LibGUI: Rename function to make intention clearer

This commit is contained in:
SimonFJ20 2022-04-13 16:14:59 +02:00 committed by Andreas Kling
commit 791e881892
Notes: sideshowbarker 2024-07-17 11:49:46 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -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(); }