##// END OF EJS Templates
alt+enter should always insert below
Brian E. Granger -
Show More
@@ -1443,11 +1443,7 b' var IPython = (function (IPython) {'
1443 return;
1443 return;
1444 }
1444 }
1445
1445
1446 // Only insert a new cell, if we ended up in an already populated cell
1446 this.insert_cell_below('code');
1447 var next_text = this.get_cell(cell_index+1).get_text();
1448 if (/\S/.test(next_text) === true) {
1449 this.insert_cell_below('code');
1450 }
1451 this.select(cell_index+1);
1447 this.select(cell_index+1);
1452 this.edit_mode();
1448 this.edit_mode();
1453 this.set_dirty(true);
1449 this.set_dirty(true);
General Comments 0
You need to be logged in to leave comments. Login now