diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2020-01-14 14:35:11 +0100 |
---|---|---|
committer | Marco Cecchetti <marco.cecchetti@collabora.com> | 2020-03-06 10:42:46 +0100 |
commit | 6fdd5e3ec95712d03b30fc32acffa358b7fef46e (patch) | |
tree | 6f32792244fff8ac5ebec8417673efb294a82a00 /sc | |
parent | 300e65cc47f3d6ae1563350757dbfadc080d7452 (diff) |
lok: calc: send text selection rectangles for the input bar
Change-Id: I3caeaddd7a5ddc6e496650539b88e2fd81b37e6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86790
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90069
Tested-by: Jenkins
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 2108f1c9dd8d..2702bb2705f1 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1500,6 +1500,9 @@ void ScTextWnd::InitEditEngine() mpEditView = std::make_unique<EditView>(mpEditEngine.get(), this); mpEditView->SetInsertMode(bIsInsertMode); + if (comphelper::LibreOfficeKit::isActive()) + mpEditView->RegisterViewShell(mpViewShell); + // Text from Clipboard is taken over as ASCII in a single row EVControlBits n = mpEditView->GetControlWord(); mpEditView->SetControlWord( n | EVControlBits::SINGLELINEPASTE ); @@ -2016,6 +2019,8 @@ void ScTextWnd::MakeDialogEditView() mpEditEngine->SetUpdateMode( true ); mpEditView = std::make_unique<EditView>(mpEditEngine.get(), this); + if (comphelper::LibreOfficeKit::isActive()) + mpEditView->RegisterViewShell(mpViewShell); mpEditEngine->InsertView( mpEditView.get(), EE_APPEND ); Resize(); |