Refactor TextEdit::search to be more robust to failure.

This commit is contained in:
Lukas Tenbrink
2025-05-13 10:59:14 +02:00
parent db66343528
commit 581e899785
2 changed files with 44 additions and 80 deletions

View File

@ -256,7 +256,7 @@ private:
void invalidate_all();
void invalidate_all_lines();
_FORCE_INLINE_ String operator[](int p_line) const;
_FORCE_INLINE_ const String &operator[](int p_line) const;
_FORCE_INLINE_ const String &get_text_with_ime(int p_line) const;
/* Gutters. */