##// END OF EJS Templates
Merge pull request #5941 from jdfreder/i5688...
Min RK -
r16835:5fb4896f merge
parent child Browse files
Show More
@@ -888,6 +888,8 b' var IPython = (function (IPython) {'
888 target_cell.code_mirror.clearHistory();
888 target_cell.code_mirror.clearHistory();
889 source_element.remove();
889 source_element.remove();
890 this.select(i);
890 this.select(i);
891 var cursor = source_cell.code_mirror.getCursor();
892 target_cell.code_mirror.setCursor(cursor);
891 this.set_dirty(true);
893 this.set_dirty(true);
892 }
894 }
893 }
895 }
@@ -921,6 +923,8 b' var IPython = (function (IPython) {'
921 if ((source_cell instanceof IPython.TextCell) && source_cell.rendered) {
923 if ((source_cell instanceof IPython.TextCell) && source_cell.rendered) {
922 target_cell.render();
924 target_cell.render();
923 }
925 }
926 var cursor = source_cell.code_mirror.getCursor();
927 target_cell.code_mirror.setCursor(cursor);
924 this.set_dirty(true);
928 this.set_dirty(true);
925 }
929 }
926 }
930 }
@@ -952,6 +956,8 b' var IPython = (function (IPython) {'
952 target_cell.code_mirror.clearHistory();
956 target_cell.code_mirror.clearHistory();
953 source_element.remove();
957 source_element.remove();
954 this.select(i);
958 this.select(i);
959 var cursor = source_cell.code_mirror.getCursor();
960 target_cell.code_mirror.setCursor(cursor);
955 this.set_dirty(true);
961 this.set_dirty(true);
956 }
962 }
957 }
963 }
@@ -988,6 +994,8 b' var IPython = (function (IPython) {'
988 target_cell.code_mirror.clearHistory();
994 target_cell.code_mirror.clearHistory();
989 source_element.remove();
995 source_element.remove();
990 this.select(i);
996 this.select(i);
997 var cursor = source_cell.code_mirror.getCursor();
998 target_cell.code_mirror.setCursor(cursor);
991 if ((source_cell instanceof IPython.TextCell) && source_cell.rendered) {
999 if ((source_cell instanceof IPython.TextCell) && source_cell.rendered) {
992 target_cell.render();
1000 target_cell.render();
993 }
1001 }
General Comments 0
You need to be logged in to leave comments. Login now