|
|
@ -111,10 +111,13 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
exp.removeCursors = function () {
|
|
|
|
exp.removeCursors = function (inner) {
|
|
|
|
for (var id in cursors) {
|
|
|
|
for (var id in cursors) {
|
|
|
|
deleteCursor(id);
|
|
|
|
deleteCursor(id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// If diffdom has changed the cursor element somehow, we'll have cursor elements
|
|
|
|
|
|
|
|
// in the dom but not in memory: remove them
|
|
|
|
|
|
|
|
$(inner).find('.cp-cursor-position').remove();
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
exp.cursorGetter = function (hjson) {
|
|
|
|
exp.cursorGetter = function (hjson) {
|
|
|
|