Add font buffer resetting in LLLineEditor.clear() (#4159)

master
TJ 2025-05-27 11:03:05 +10:00 committed by GitHub
parent 38a643ae31
commit aeefc73129
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -2230,6 +2230,9 @@ void LLLineEditor::clear()
{
mText.clear();
setCursor(0);
mFontBufferPreSelection.reset();
mFontBufferSelection.reset();
mFontBufferPostSelection.reset();
}
//virtual