From be6bab45089e2cf11708ae975a145b4e7f095b5e Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Tue, 26 Nov 2024 16:13:35 +0100 Subject: #3096 Shift+Tab selects extra lines on script edit on reduce indent --- indra/llui/lltexteditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index fcdf3782ae..7689b93374 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -581,7 +581,7 @@ S32 LLTextEditor::indentLine( S32 pos, S32 spaces ) LLWString wtext = getWText(); if (wtext[pos] == ' ') { - delta_spaces += remove( pos, 1, false ); + delta_spaces -= remove( pos, 1, false ); } } } -- cgit v1.3