From 3eaab684856f1b4ce5b9989eb6c91fade80d3fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Thu, 4 Dec 2025 10:26:14 +0200 Subject: [PATCH] [RTL] Fix relative index getting out of sync. --- scene/gui/rich_text_label.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 82a385c4d6f..b241aa03beb 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -4033,6 +4033,7 @@ void RichTextLabel::add_text(const String &p_text) { //append text condition! ItemText *ti = static_cast(current->subitems.back()->get()); ti->text += line; + current_char_ofs += line.length(); _invalidate_current_line(main); } else {