bccu#1781: Impress/Comments - selection not updated on delete
Change-Id: I694d76785fcf6ec9c158c34cbe07f4d1f2c7a41d Reviewed-on: https://gerrit.libreoffice.org/25219 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit b95e4e8681c9cefb4e1d4177192164e041baf9d9) Reviewed-on: https://gerrit.libreoffice.org/25428 Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
committed by
Ashod Nakashian
parent
05b7ebaf98
commit
c8a09eb373
@@ -92,7 +92,9 @@ namespace desktop {
|
||||
// that no new events are fired during painting.
|
||||
if (type != LOK_CALLBACK_STATE_CHANGED &&
|
||||
type != LOK_CALLBACK_INVALIDATE_TILES &&
|
||||
type != LOK_CALLBACK_CURSOR_VISIBLE)
|
||||
type != LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR &&
|
||||
type != LOK_CALLBACK_CURSOR_VISIBLE &&
|
||||
type != LOK_CALLBACK_TEXT_SELECTION)
|
||||
{
|
||||
//SAL_WARN("lokevt", "Skipping while painting [" + std::to_string(type) + "]: [" + payload + "].");
|
||||
return;
|
||||
|
||||
@@ -1349,6 +1349,7 @@ 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 ) ) ||
|
||||
|
||||
Reference in New Issue
Block a user