diff options
authorJustin Luth <>2015-12-28 14:20:53 +0300
committerJustin Luth <>2016-01-06 09:50:52 +0000
commit6211a9ec196b16d6c2773fc8dbdd8c39002b28b7 (patch)
parentf71d1e7ef44615412698de4c17ec413ffb33aba7 (diff)
tdf#96687 - force validation after External Input
After external input (EndExtTextInput), the selection was marked as invalid, but bFormatted remained true, so all the functions that re-evaluated and marked the portion as valid again were skipped and therefore the invalid portion was not painted. Change-Id: Ibb2208bdaeb8ed17a4a34fa378a2fc750abf1b07 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Justin Luth <> Reviewed-by: Toma┼ż Vajngerl <> (cherry picked from commit 5a217ada5e28e17f052ebec8e53dce05c2aa9cae) Reviewed-on: Tested-by: Justin Luth <>
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx
index 78bd880dde77..45cc8544fb33 100644
--- a/vcl/source/edit/textview.cxx
+++ b/vcl/source/edit/textview.cxx
@@ -931,6 +931,7 @@ void TextView::Command( const CommandEvent& rCEvt )
delete mpImpl->mpTextEngine->mpIMEInfos;
mpImpl->mpTextEngine->mpIMEInfos = nullptr;
+ mpImpl->mpTextEngine->TextModified();
mpImpl->mpTextEngine->FormatAndUpdate( this );
SetInsertMode( bInsertMode );