diff --git a/IPython/html/static/notebook/js/quickhelp.js b/IPython/html/static/notebook/js/quickhelp.js
index 907e2d0..480200c 100644
--- a/IPython/html/static/notebook/js/quickhelp.js
+++ b/IPython/html/static/notebook/js/quickhelp.js
@@ -79,7 +79,7 @@ var IPython = (function (IPython) {
half = ~~(n/2); // Truncate :)
for (i=0; i').addClass('quickhelp').
append($('').addClass('shortcut_key').text(shortcut)).
append($('').addClass('shortcut_descr').text(' : ' + help))
@@ -87,7 +87,7 @@ var IPython = (function (IPython) {
};
for (i=half; i').addClass('quickhelp').
append($('').addClass('shortcut_key').text(shortcut)).
append($('').addClass('shortcut_descr').text(' : ' + help))
@@ -98,6 +98,13 @@ var IPython = (function (IPython) {
return cmd_div;
}
+ var special_case = { pageup: "PageUp", pagedown: "Page Down" };
+ var shortcut_name = function (s) {
+ return ( special_case[s] ? special_case[s] : s.charAt(0).toUpperCase() + s.slice(1) );
+
+
+ };
+
QuickHelp.prototype.build_edit_help = function () {
var edit_shortcuts = IPython.keyboard_manager.edit_shortcuts.help();
var help, shortcut;
@@ -112,7 +119,7 @@ var IPython = (function (IPython) {
half = ~~(n/2); // Truncate :)
for (i=0; i').addClass('quickhelp').
append($('').addClass('shortcut_key').text(shortcut)).
append($('').addClass('shortcut_descr').text(' : ' + help))
@@ -120,7 +127,7 @@ var IPython = (function (IPython) {
};
for (i=half; i').addClass('quickhelp').
append($('').addClass('shortcut_key').text(shortcut)).
append($('').addClass('shortcut_descr').text(' : ' + help))