mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-01 16:04:55 +00:00

This is a quite complicated change that should both fix tdf#133284 (cursor keys on a hardware keyboard do not work in a spreadsheet document) and also improve the interaction with CollaboraOnlineWebViewKeyboardManager that manages the on-screen keyboard. We need to jump through complicated hoops in order to get the hardware cursor keys handled right after loading a spreadsheet document. In the CollaboraOnlineWebViewKeyboardManager case we try harder to keep loleaflet's _textArea buffer in sync with what the UITextView in CollaboraOnlineWebViewKeyboardManager uses to provide suggestions above the on-screen keyboard. Also merges in related changes from today to CollaboraOnlineWebViewKeyboardManager. Change-Id: Ic4acb54bd4e815aa8bfb2bf40b08493446ae5ab0 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101878 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>