FIRE-29545: Backspace not working after triple-click selecting last line

meow-7.2.2
Ansariel 2020-05-08 09:32:40 +02:00
parent 017b0210eb
commit 4e98c504d0
1 changed files with 3 additions and 0 deletions

View File

@ -1112,6 +1112,9 @@ BOOL LLTextBase::handleMouseDown(S32 x, S32 y, MASK mask)
line_start = it->mDocIndexStart;
}
line_end = it->mDocIndexEnd;
// <FS:Ansariel> FIRE-29545: Backspace not working after triple-click selecting last line
line_end = llclamp(line_end, 0, getLength());
}
if (line_start == -1)