[Libreoffice-commits] core.git: editeng/source

Caolán McNamara caolanm at redhat.com
Wed Jul 13 14:18:06 UTC 2016


 editeng/source/editeng/editeng.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 8c4dbcef8f92c9bd1c2208e7de7971f184f8a3ff
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jul 13 14:54:19 2016 +0100

    Revert "bccu#1781: Impress/Comments - selection not updated on delete"
    
    because selection is visually mangled in the editeng.
    
    type a word in calc, hit return, double click on the word, then end, hold down
    the shift key and move to the left, every second letter gets highlighted.
    
    The original bug is private so I don't know what problem it wanted to fix
    to see if there is a better solution.
    
    This reverts commit c8a09eb373b78d9936fb00ac98b6876eb8740c4d.
    
    Change-Id: Ib1b535aca98daaae210db4e3d62900fbc389e816

diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 8d84139..a20f52e 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -1349,7 +1349,6 @@ bool EditEngine::PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pEditView, v
     }
 
     pEditView->pImpEditView->SetEditSelection( aCurSel );
-    pEditView->pImpEditView->DrawSelection();
     pImpEditEngine->UpdateSelections();
 
     if ( ( !IsVertical() && ( nCode != KEY_UP ) && ( nCode != KEY_DOWN ) ) ||


More information about the Libreoffice-commits mailing list