Kaydet (Commit) 97a0b23b authored tarafından matteocam's avatar matteocam Kaydeden (comit) Thorsten Behrens

chained editeng: Enable chaining after a key is pressed

Change-Id: I64351619dd0886f3bb0c080557864c46a17d737d
üst c21780b5
......@@ -1312,6 +1312,15 @@ bool SdrObjEditView::KeyInput(const KeyEvent& rKEvt, vcl::Window* pWin)
{
if(pTextEditOutlinerView)
{
/* Start special handling of keys within a chain */
// We possibly move to another box before any handling
bool bHandled = false;
TextChainCursorManager *pCursorManager =
ImpHandleMotionThroughBoxesKeyInput(rKEvt, pWin, &bHandled);
if (bHandled)
return true;
/* End special handling of keys within a chain */
if (pTextEditOutlinerView->PostKeyEvent(rKEvt, pWin))
{
if( mpModel )
......@@ -1320,6 +1329,11 @@ bool SdrObjEditView::KeyInput(const KeyEvent& rKEvt, vcl::Window* pWin)
mpModel->SetChanged();
}
/* Start chaining processing */
ImpChainingEventHdl();
ImpMoveCursorAfterChainingEvent(pCursorManager);
/* End chaining processing */
if (pWin!=NULL && pWin!=pTextEditWin) SetTextEditWin(pWin);
#ifdef DBG_UTIL
if (mpItemBrowser!=nullptr) mpItemBrowser->SetDirty();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment