diff options
author | Justin Luth <justin_luth@sil.org> | 2015-12-28 14:20:53 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2016-03-14 07:23:22 +0000 |
commit | b170aa84afbbb6c984d739aed15846c2269be9ff (patch) | |
tree | d22ec2ec1926c63d848d868a87c34c99e02de8f2 | |
parent | 0a48ffb81c62f804d5c9d7f2dd1332385849d7ee (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/23190
Tested-by: Justin Luth <justin_luth@sil.org>
-rw-r--r-- | vcl/source/edit/textview.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx index 0898838dbb00..3c65033ee82f 100644 --- a/vcl/source/edit/textview.cxx +++ b/vcl/source/edit/textview.cxx @@ -932,6 +932,7 @@ void TextView::Command( const CommandEvent& rCEvt ) delete mpImpl->mpTextEngine->mpIMEInfos; mpImpl->mpTextEngine->mpIMEInfos = NULL; + mpImpl->mpTextEngine->TextModified(); mpImpl->mpTextEngine->FormatAndUpdate( this ); SetInsertMode( bInsertMode ); |