Update editor other cursor classes and adding option for other cursors features in CodeMirror
This commit is contained in:
14
public/vendor/codemirror/lib/codemirror.css
vendored
14
public/vendor/codemirror/lib/codemirror.css
vendored
@@ -86,6 +86,12 @@
|
||||
/* Can style cursor different in overwrite (non-insert) mode */
|
||||
.CodeMirror-overwrite .CodeMirror-cursor {}
|
||||
|
||||
.CodeMirror-other-cursor {
|
||||
width: 0px;
|
||||
position: absolute;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.cm-tab { display: inline-block; text-decoration: inherit; }
|
||||
|
||||
.CodeMirror-rulers {
|
||||
@@ -316,6 +322,11 @@ div.CodeMirror-dragcursors {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
div.CodeMirror-other-cursors {
|
||||
position:relative;
|
||||
z-index:3;
|
||||
}
|
||||
|
||||
.CodeMirror-selected { background: #d9d9d9; }
|
||||
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
||||
.CodeMirror-crosshair { cursor: crosshair; }
|
||||
@@ -338,6 +349,9 @@ div.CodeMirror-dragcursors {
|
||||
.CodeMirror div.CodeMirror-cursors {
|
||||
visibility: hidden;
|
||||
}
|
||||
.CodeMirror div.CodeMirror-other-cursors {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
/* See issue #2901 */
|
||||
|
||||
Reference in New Issue
Block a user