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

New commits:
commit d49df745061c8fad7a874dcd6cb31fd5ac1794a4
Author: Andras Timar <[email protected]>
Date:   Sat Nov 28 20:04:16 2015 +0100

    loleaflet: update column headers after Set Optimal Column Width command

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js 
b/loleaflet/src/map/handler/Map.Keyboard.js
index a58c8a4..2ce5bf9 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -342,6 +342,13 @@ L.Map.Keyboard = L.Handler.extend({
                }
 
                switch (e.originalEvent.keyCode) {
+                       case 51: // 3
+                               if (this._map.getDocType() === 'spreadsheet') {
+                                       L.Socket.sendMessage('uno 
.uno:SetOptimalColumnWidthDirect');
+                                       L.Socket.sendMessage('commandvalues 
command=.uno:ViewRowColumnHeaders');
+                                       return true;
+                               }
+                               return false;
                        case 53: // 5
                                if (this._map.getDocType() === 'spreadsheet') {
                                        L.Socket.sendMessage('uno 
.uno:Strikeout');
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to