summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2015-12-28 14:20:53 +0300
committerJustin Luth <justin_luth@sil.org>2016-01-06 09:50:52 +0000
commit6211a9ec196b16d6c2773fc8dbdd8c39002b28b7 (patch)
treea9bfe1032d43cf55d72114938af7c2f903cacbb4
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: https://gerrit.libreoffice.org/20986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 5a217ada5e28e17f052ebec8e53dce05c2aa9cae) Reviewed-on: https://gerrit.libreoffice.org/21117 Tested-by: Justin Luth <justin_luth@sil.org>
-rw-r--r--vcl/source/edit/textview.cxx1
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 );