Add all the short cut keys to the help dialog.
authorRob Norris <rw_norris@hotmail.com>
Sat, 11 Aug 2012 15:24:30 +0000 (16:24 +0100)
committerRob Norris <rw_norris@hotmail.com>
Sat, 11 Aug 2012 21:13:40 +0000 (22:13 +0100)
net/systemeD/potlatch2/help/HelpDialog.mxml

index 8a95d102b48b4c2055aa86846416df3996b5284c..acd730a247617ebf393fa510df087fd7915267be 100644 (file)
         return grid;
     }
 
+    // common keycodes used in:
+    //  net/systemeD/potlatch2/controller/ControllerState.as
+    // others spread around where used mostly here:
+    //  net/systemeD/potlatch2/controller/*as
+    // Also see: http://wiki.openstreetmap.org/wiki/Potlatch_2/Shortcuts
     private function buildShortCuts():void {
         var text:Array = [["Click+Drag", "Drag the map to move around"],
                           ["Single Click", "Start a new way"],
                           ["Ctrl+Click", "Select multiple nodes or ways (Command+Click on Mac)"],
                           ["/", "Cycle through overlapping ways"],
                           ];
-        var text2:Array =  [["+", "Add new tag"],
+        var text2:Array =  [["+", "Add new tag (and also '=')"],
                             [", .", "Cycle through nodes in way"],
+                            ["0", "Zero (but not on the numpad) - Remove ALL tags on selected item"],
+                            ["B", "Set source tag according to the Background"],
+                            ["C", "Close changeset"],
                             ["D", "Dim features"],
                             ["F", "Follow existing way"],
                             ["G", "Load GPS points"],
+                            ["H", "History of single selected item"],
+                            ["H", "Create Multipolygon Hole (multiple items selected)"],
+                            ["J", "Join (merge) ways"],
+                            ["Shift-J", "Unjoin ways"],
                             ["M", "Maximise editor"],
+                            ["O", "Replace node on way"],
                             ["P", "Create parallel way"],
-                            ["Q", "Make area right-angled"],
+                            ];
+        var text3:Array =  [["Q", "Make area right-angled"],
                             ["R", "Repeat tags"],
                             ["Shift-R", "Repeat relations"],
-                            ];
-        var text3:Array =  [["S", "Save"],
+                            ["S", "Save"],
                             ["T", "Toggle between simple and advanced tags"],
                             ["V", "Reverse direction of way"],
+                            ["W", "Select the way of the selected node"],
                             ["X", "Cut way at node"],
+                            ["Y", "Simplify way"],
                             ["Z", "Undo"],
+                            ["Shift-Z", "Redo"],
                             ["Esc", "Cancel edit"],
                             ["Space", "Hold/drag to realign background image"]
                             ];