[Libreoffice-commits] online.git: loleaflet/src

László Németh laszlo.nemeth at collabora.com
Thu Oct 29 02:05:17 PDT 2015


 loleaflet/src/map/handler/Map.Keyboard.js |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 2eaf45351c0cb6612716403306a2a89aa5b219bb
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Thu Oct 29 10:03:40 2015 +0100

    tdf#94608 Ctrl-Shift-Up/Down for paragraph start/end selections

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index 46b57f2..1c6c7bd 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -273,9 +273,15 @@ L.Map.Keyboard = L.Handler.extend({
 					case 37: // left arrow
 						L.Socket.sendMessage('uno .uno:WordLeftSel');
 						break;
+					case 38: // up arrow
+						L.Socket.sendMessage('uno .uno:StartOfParaSel');
+						break;
 					case 39: // right arrow
 						L.Socket.sendMessage('uno .uno:WordRightSel');
 						break;
+					case 40: // down arrow
+						L.Socket.sendMessage('uno .uno:EndOfParaSel');
+						break;
 					case 66: // b
 						L.Socket.sendMessage('uno .uno:SubScript');
 						break;


More information about the Libreoffice-commits mailing list