Cursor improvements in pad, code and slide
This commit is contained in:
1 parent
d76c21fcf5
commit
a11a883cff
5 files changed
+37
-8
No files matched your search
@@ -402,6 +402,12 @@ define([
|
||||
return html;
|
||||
};
|
||||
var marks = {};
|
||||
exp.removeCursors = function () {
|
||||
for (var id in marks) {
|
||||
marks[id].clear();
|
||||
delete marks[id];
|
||||
}
|
||||
};
|
||||
exp.setRemoteCursor = function (data) {
|
||||
if (data.leave) {
|
||||
$('.cp-codemirror-cursor[id^='+data.id+']').each(function (i, el) {
|
||||
|
||||
Reference in new issue
Block a user