Show More
@@ -278,7 +278,7 b' var IPython = (function (IPython) {' | |||||
278 | * @return {Boolean} |
|
278 | * @return {Boolean} | |
279 | */ |
|
279 | */ | |
280 | Cell.prototype.at_top = function () { |
|
280 | Cell.prototype.at_top = function () { | |
281 | var cm = this.code_mirror |
|
281 | var cm = this.code_mirror; | |
282 | var cursor = cm.getCursor(); |
|
282 | var cursor = cm.getCursor(); | |
283 | if (cursor.line === 0 && cm.findPosV(cursor, -1, 'line').hitSide) { |
|
283 | if (cursor.line === 0 && cm.findPosV(cursor, -1, 'line').hitSide) { | |
284 | return true; |
|
284 | return true; | |
@@ -292,7 +292,7 b' var IPython = (function (IPython) {' | |||||
292 | * @return {Boolean} |
|
292 | * @return {Boolean} | |
293 | * */ |
|
293 | * */ | |
294 | Cell.prototype.at_bottom = function () { |
|
294 | Cell.prototype.at_bottom = function () { | |
295 | var cm = this.code_mirror |
|
295 | var cm = this.code_mirror; | |
296 | var cursor = cm.getCursor(); |
|
296 | var cursor = cm.getCursor(); | |
297 | if (cursor.line === (cm.lineCount()-1) && cm.findPosV(cursor, 1, 'line').hitSide) { |
|
297 | if (cursor.line === (cm.lineCount()-1) && cm.findPosV(cursor, 1, 'line').hitSide) { | |
298 | return true; |
|
298 | return true; |
General Comments 0
You need to be logged in to leave comments.
Login now