Show More
@@ -111,9 +111,7 b' var IPython = (function (IPython) {' | |||||
111 | return false; |
|
111 | return false; | |
112 | } else if (cell) { |
|
112 | } else if (cell) { | |
113 | var cm = cell.code_mirror; |
|
113 | var cm = cell.code_mirror; | |
114 | var cursor = cm.getCursor(); |
|
114 | cm.execCommand('goLineUp'); | |
115 | cursor.line -= 1; |
|
|||
116 | cm.setCursor(cursor); |
|
|||
117 | return false; |
|
115 | return false; | |
118 | } |
|
116 | } | |
119 | } |
|
117 | } | |
@@ -134,9 +132,7 b' var IPython = (function (IPython) {' | |||||
134 | return false; |
|
132 | return false; | |
135 | } else { |
|
133 | } else { | |
136 | var cm = cell.code_mirror; |
|
134 | var cm = cell.code_mirror; | |
137 | var cursor = cm.getCursor(); |
|
135 | cm.execCommand('goLineDown'); | |
138 | cursor.line += 1; |
|
|||
139 | cm.setCursor(cursor); |
|
|||
140 | return false; |
|
136 | return false; | |
141 | } |
|
137 | } | |
142 | } |
|
138 | } |
General Comments 0
You need to be logged in to leave comments.
Login now