mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
lower case names for keys
This commit is contained in:
parent
fdca0762a4
commit
06e5858ee2
@ -65,7 +65,7 @@ var IPython = (function (IPython) {
|
||||
var i, half, n;
|
||||
|
||||
// Command mode
|
||||
var cmd_div = $('<div/>').append($('<h4>Command Mode (press ESC to enable)</h4>'));
|
||||
var cmd_div = $('<div/>').append($('<h4>Command Mode (press <tt>esc</tt> to enable)</h4>'));
|
||||
var cmd_sub_div = $('<div/>').addClass('hbox');
|
||||
var cmd_col1 = $('<div/>').addClass('box-flex0');
|
||||
var cmd_col2 = $('<div/>').addClass('box-flex0');
|
||||
@ -98,7 +98,7 @@ var IPython = (function (IPython) {
|
||||
var i, half, n;
|
||||
|
||||
// Edit mode
|
||||
var edit_div = $('<div/>').append($('<h4>Edit Mode (press ENTER to enable)</h4>'));
|
||||
var edit_div = $('<div/>').append($('<h4>Edit Mode (press <tt>enter</tt> to enable)</h4>'));
|
||||
var edit_sub_div = $('<div/>').addClass('hbox');
|
||||
var edit_col1 = $('<div/>').addClass('box-flex0');
|
||||
var edit_col2 = $('<div/>').addClass('box-flex0');
|
||||
|
@ -56,7 +56,7 @@ var tour_steps = [
|
||||
title: "Edit Mode",
|
||||
placement: 'bottom',
|
||||
onShow: function(tour) { edit_mode(); },
|
||||
content: "Pressing Enter or clicking in the input text area of the cell switches to Edit Mode."
|
||||
content: "Pressing <tt>enter</tt> or clicking in the input text area of the cell switches to Edit Mode."
|
||||
}, {
|
||||
element: '.selected',
|
||||
title: "Edit Mode",
|
||||
@ -68,7 +68,7 @@ var tour_steps = [
|
||||
title: "Back to Command Mode",
|
||||
placement: 'bottom',
|
||||
onShow: function(tour) { IPython.notebook.command_mode(); },
|
||||
content: "Pressing Esc or clicking outside of the input text area takes you back to Command Mode."
|
||||
content: "Pressing <tt>esc</tt> or clicking outside of the input text area takes you back to Command Mode."
|
||||
}, {
|
||||
element: '#keyboard_shortcuts',
|
||||
title: "Keyboard Shortcuts",
|
||||
|
@ -45,7 +45,7 @@
|
||||
"};\n",
|
||||
"</script>\n",
|
||||
"\n",
|
||||
"Run a code cell using `Shift-Enter` or pressing the <button><i class=\"icon-play\"></i></button> button in the <a href=\"#\" onMouseover=\"hl('#maintoolbar-container', 1)\" onMouseout=\"hl('#maintoolbar-container', 0)\">toolbar</a> above:"
|
||||
"Run a code cell using `shift-enter` or pressing the <button><i class=\"icon-play\"></i></button> button in the <a href=\"#\" onMouseover=\"hl('#maintoolbar-container', 1)\" onMouseout=\"hl('#maintoolbar-container', 0)\">toolbar</a> above:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user