sw/source/uibase/docvw/edtwin.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit ccc00b037a7a20dab84255e865ac042d8801df28 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Tue May 21 17:11:50 2019 -0800 Commit: Jim Raykowski <rayk...@gmail.com> CommitDate: Sat Jun 1 06:31:59 2019 +0200 tdf#116460 Update the page number in the statusbar This patch provides page number update in the status bar while the up/ down arrow/page keys are held pressed. Change-Id: I61ac40c781a869eb940f1b863047113fcfa851cf Reviewed-on: https://gerrit.libreoffice.org/72713 Tested-by: Jenkins Reviewed-by: Jim Raykowski <rayk...@gmail.com> diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index fa96b285c01b..77f8af3ef285 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -2649,6 +2649,11 @@ KEYINPUT_CHECKTABLE_INSDEL: } } + // update the page number in the statusbar + sal_uInt16 nKey = rKEvt.GetKeyCode().GetCode(); + if( KEY_UP == nKey || KEY_DOWN == nKey || KEY_PAGEUP == nKey || KEY_PAGEDOWN == nKey ) + GetView().GetViewFrame()->GetBindings().Update( FN_STAT_PAGE ); + // in case the buffered characters are inserted if( bFlushBuffer && !m_aInBuffer.isEmpty() ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits