LibLine: Update the lazy refresh data and flags in some more places

These were forgotten in the last LibLine commit, any changes to m_buffer
not going through insert() and remove_at_index() should also be updating
these.

Fixes #5440.
This commit is contained in:
AnotherTest 2021-02-21 04:03:43 +03:30 committed by Andreas Kling
commit 6472e5239c
Notes: sideshowbarker 2024-07-18 22:04:34 +09:00
3 changed files with 17 additions and 1 deletions

View file

@ -319,6 +319,9 @@ private:
m_refresh_needed = true;
m_input_error.clear();
m_returned_line = String::empty();
m_chars_touched_in_the_middle = 0;
m_drawn_end_of_line_offset = 0;
m_drawn_spans = {};
}
void refresh_display();