Show More
@@ -251,7 +251,8 b' var IPython = (function (IPython) {' | |||||
251 | return true; |
|
251 | return true; | |
252 | } else { |
|
252 | } else { | |
253 | var cursor = this.code_mirror.getCursor(); |
|
253 | var cursor = this.code_mirror.getCursor(); | |
254 | if (cursor.line === 0 && cursor.ch === 0) { |
|
254 | if (cursor.line === 0 && cm.findPosV(cm.getCursor(), -1, 'line', cm.charCoords(cm.getCursor(),'div').left).hitSide) { | |
|
255 | console.log('at top'); | |||
255 | return true; |
|
256 | return true; | |
256 | } else { |
|
257 | } else { | |
257 | return false; |
|
258 | return false; |
General Comments 0
You need to be logged in to leave comments.
Login now