[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/source

Justin Luth justin_luth at sil.org
Wed Jan 6 01:51:14 PST 2016


 vcl/source/edit/textview.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6211a9ec196b16d6c2773fc8dbdd8c39002b28b7
Author: Justin Luth <justin_luth at sil.org>
Date:   Mon Dec 28 14:20:53 2015 +0300

    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 at libreoffice.org>
    Reviewed-by: Justin Luth <justin_luth at sil.org>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    (cherry picked from commit 5a217ada5e28e17f052ebec8e53dce05c2aa9cae)
    Reviewed-on: https://gerrit.libreoffice.org/21117
    Tested-by: Justin Luth <justin_luth at sil.org>

diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx
index 78bd880..45cc854 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 );


More information about the Libreoffice-commits mailing list