From 576d4ea9d602d7f53c43839e18ed00c6a43c9744 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Thu, 3 Apr 2014 09:39:20 -0700 Subject: [PATCH] Update tooltips to refer to shift-tab Closes gh-5510 --- IPython/html/static/notebook/js/tooltip.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IPython/html/static/notebook/js/tooltip.js b/IPython/html/static/notebook/js/tooltip.js index af5cbe683d0..7c55d6f30a8 100644 --- a/IPython/html/static/notebook/js/tooltip.js +++ b/IPython/html/static/notebook/js/tooltip.js @@ -10,7 +10,7 @@ // // you can set the autocall time by setting `IPython.tooltip.time_before_tooltip` in ms // -// you can configure the differents action of pressing tab several times in a row by +// you can configure the differents action of pressing shift-tab several times in a row by // setting/appending different fonction in the array // IPython.tooltip.tabs_functions // @@ -51,13 +51,13 @@ var IPython = (function (IPython) { // build the buttons menu on the upper right // expand the tooltip to see more var expandlink = $('').attr('href', "#").addClass("ui-corner-all") //rounded corner - .attr('role', "button").attr('id', 'expanbutton').attr('title', 'Grow the tooltip vertically (press tab 2 times)').click(function () { + .attr('role', "button").attr('id', 'expanbutton').attr('title', 'Grow the tooltip vertically (press shift-tab twice)').click(function () { that.expand(); }).append( $('').text('Expand').addClass('ui-icon').addClass('ui-icon-plus')); // open in pager - var morelink = $('').attr('href', "#").attr('role', "button").addClass('ui-button').attr('title', 'show the current docstring in pager (press tab 4 times)'); + var morelink = $('').attr('href', "#").attr('role', "button").addClass('ui-button').attr('title', 'show the current docstring in pager (press shift-tab 4 times)'); var morespan = $('').text('Open in Pager').addClass('ui-icon').addClass('ui-icon-arrowstop-l-n'); morelink.append(morespan); morelink.click(function () {