From aa47b80d77821377d8f0a8726397195fe7de01f2 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Mon, 4 Jan 2021 23:27:34 -0500
Subject: [PATCH] Fix broken text selection highlight behavior

---
 indra/llui/lltextbase.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 2a9d40269e7..0c7a420e056 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -481,10 +481,7 @@ void LLTextBase::drawHighlightsBackground(const highlight_list_t& highlights, co
 							segmentp->getDimensions(segment_offset, num_chars, segment_width, segment_height);
 							selection_rect.mRight += segment_width;
 
-// [SL:KB] - Patch: Control-TextHighlight | Checked: 2013-12-30 (Catznip-3.6)
-							continue;
-// [/SL:KB]
-//							break;
+							break;
 						}
 					}
 					selection_rects.push_back(selection_rect);
-- 
GitLab