Fix and improve cursor
This commit is contained in:
@@ -9,13 +9,6 @@
|
||||
@color: @colortheme_code-color
|
||||
);
|
||||
|
||||
.cp-codemirror-cursor {
|
||||
border-left: 2px solid red;
|
||||
}
|
||||
.cp-codemirror-selection {
|
||||
background-color: rgba(255,0,0,0.3);
|
||||
}
|
||||
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
max-height: 100%;
|
||||
|
||||
@@ -304,7 +304,7 @@ define([
|
||||
framework.onCursorUpdate(CodeMirror.setRemoteCursor);
|
||||
framework.setCursorGetter(CodeMirror.getCursor);
|
||||
editor.on('cursorActivity', function () {
|
||||
if (editor._noCursorUpdate) { console.log('ok'); return; }
|
||||
if (editor._noCursorUpdate) { return; }
|
||||
framework.updateCursor();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user