@@ -22,12 +22,13 @@ export function Display(place, doc, input) {
22
22
// Elements are added to these to represent selection and cursors.
23
23
d . selectionDiv = elt ( "div" , null , null , "position: relative; z-index: 1" )
24
24
d . cursorDiv = elt ( "div" , null , "CodeMirror-cursors" )
25
+ d . otherCursorsDiv = elt ( "div" , null , "CodeMirror-other-cursors" )
25
26
// A visibility: hidden element used to find the size of things.
26
27
d . measure = elt ( "div" , null , "CodeMirror-measure" )
27
28
// When lines outside of the viewport are measured, they are drawn in this.
28
29
d . lineMeasure = elt ( "div" , null , "CodeMirror-measure" )
29
30
// Wraps everything that needs to exist inside the vertically-padded coordinate system
30
- d . lineSpace = eltP ( "div" , [ d . measure , d . lineMeasure , d . selectionDiv , d . cursorDiv , d . lineDiv ] ,
31
+ d . lineSpace = eltP ( "div" , [ d . measure , d . lineMeasure , d . selectionDiv , d . cursorDiv , d . otherCursorsDiv , d . lineDiv ] ,
31
32
null , "position: relative; outline: none" )
32
33
let lines = eltP ( "div" , [ d . lineSpace ] , "CodeMirror-lines" )
33
34
// Moved around its parent to cover visible view.
0 commit comments