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

New commits:
commit 15812c889cdae08ae6bdd77b3c02915d6e1e1ecc
Author: László Németh <laszlo.nem...@collabora.com>
Date:   Wed Oct 28 23:49:51 2015 +0100

    tdf#94608 add Ctrl-Shift-Left/Right shortcuts for word selection

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js 
b/loleaflet/src/map/handler/Map.Keyboard.js
index 4b17a6a..46b57f2 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -270,6 +270,12 @@ L.Map.Keyboard = L.Handler.extend({
                        // Ctrl + Shift
                        if (!e.originalEvent.altKey) {
                                switch (e.originalEvent.keyCode) {
+                                       case 37: // left arrow
+                                               L.Socket.sendMessage('uno 
.uno:WordLeftSel');
+                                               break;
+                                       case 39: // right arrow
+                                               L.Socket.sendMessage('uno 
.uno:WordRightSel');
+                                               break;
                                        case 66: // b
                                                L.Socket.sendMessage('uno 
.uno:SubScript');
                                                break;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to