From 35d209a4b121c49284efb11e88b5e5e434778cf3 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 7 Oct 2025 11:25:00 -0300 Subject: [PATCH] Remove ASSERT() that can fail if we paste a RTL text --- src/ui/textedit.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui/textedit.cpp b/src/ui/textedit.cpp index 9b91af5fb..44023ebd8 100644 --- a/src/ui/textedit.cpp +++ b/src/ui/textedit.cpp @@ -799,7 +799,6 @@ struct Utf8RangeBuilder : public text::TextBlob::RunHandler { void commitRunBuffer(TextBlob::RunInfo& info) override { - ASSERT(info.clusters == nullptr || *info.clusters == 0); for (int i = 0; i < info.glyphCount; ++i) { ranges.push_back(info.getGlyphUtf8Range(i)); }