diff options
author | Justin Luth <justin_luth@sil.org> | 2015-12-28 14:20:53 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-01-05 14:08:40 +0000 |
commit | 5a217ada5e28e17f052ebec8e53dce05c2aa9cae (patch) | |
tree | a3d7e2647f50418829066efef1d04a96896d087b /vcl/source/edit | |
parent | a301da7cb6c562cd21983d9b3b34dc01235a82a5 (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>
Diffstat (limited to 'vcl/source/edit')
-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 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 ); |