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

Faruk Uzun farukuzun at collabora.com
Tue Jan 12 00:20:41 PST 2016


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

New commits:
commit ca33f7e181f48da7f605c923aae19c1f3fed0e74
Author: Faruk Uzun <farukuzun at collabora.com>
Date:   Mon Jan 11 16:04:05 2016 +0200

    loleaflet: ccu#1368 add ctrl+f1 to view & hide comment on cell
    
    In desktop version of Calc; Ctrl+F1 command toggles between
    view and hide the comment attached to current cell. This adds
    same shortcut to online.
    
    Change-Id: I8d68ab935cc8a76ff8d288c58656c592bfa44eb1
    Reviewed-on: https://gerrit.libreoffice.org/21359
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index 697dc3d..48fec56 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -386,6 +386,8 @@ L.Map.Keyboard = L.Handler.extend({
 				return true;
 			case 86: // v
 				return true;
+			case 112: // f1
+				L.Socket.sendMessage('uno .uno:NoteVisible');
 			case 188: // ,
 				L.Socket.sendMessage('uno .uno:SubScript');
 				return true;


More information about the Libreoffice-commits mailing list