diff --git a/demo/mode_list.html b/demo/mode_list.html new file mode 100644 index 00000000..9aa3f295 --- /dev/null +++ b/demo/mode_list.html @@ -0,0 +1,57 @@ + + + + + + Editor + + + + +
Editor.prototype.showKeyboardShortcuts = function () {
+    showKeyboardShortcuts(this);
+};
+editor.commands.addCommands([{
+    name: "showKeyboardShortcuts",
+    bindKey: {win: "Ctrl-Alt-h", mac: "Command-Alt-h"},
+    exec: function(editor, line) {
+        editor.showKeyboardShortcuts();
+    }
+}]);
+
+ + + + + + +