##// END OF EJS Templates
fix tooltip on token with number...
Matthias BUSSONNIER -
Show More
@@ -1141,7 +1141,7 b' var IPython = (function (IPython) {'
1141 // remove everythin after last open bracket
1141 // remove everythin after last open bracket
1142 endBracket = /\([^\(]*$/g;
1142 endBracket = /\([^\(]*$/g;
1143 func = func.replace(endBracket,"");
1143 func = func.replace(endBracket,"");
1144 var re = /[a-zA-Z._]+$/g;
1144 var re = /[a-z_][0-9a-z._]+$/gi; // casse insensitive
1145 var msg_id = this.kernel.object_info_request(re.exec(func));
1145 var msg_id = this.kernel.object_info_request(re.exec(func));
1146 if(typeof(msg_id)!='undefined'){
1146 if(typeof(msg_id)!='undefined'){
1147 this.msg_cell_map[msg_id] = cell.cell_id;
1147 this.msg_cell_map[msg_id] = cell.cell_id;
General Comments 0
You need to be logged in to leave comments. Login now