Updated the example to leverage the new hover label.

pull/4/head
Michael MacFadden 4 years ago
parent e34afb715c
commit 3c374f479d

@ -48,6 +48,4 @@ h2 {
.editor {
height: 500px;
border: 1px solid grey;
flex: 1;
}

@ -32,8 +32,8 @@ require(['vs/editor/editor.main', 'MonacoCollabExt'], function(m, MonacoCollabEx
const staticUserCursor = remoteCursorManager.addCursor(staticUser.id, staticUser.color, staticUser.label);
const remoteSelectionManager = new MonacoCollabExt.RemoteSelectionManager({editor: target});
remoteSelectionManager.addSelection(sourceUser.id, sourceUser.color);
remoteSelectionManager.addSelection(staticUser.id, staticUser.color);
remoteSelectionManager.addSelection(sourceUser.id, sourceUser.color, sourceUser.label);
remoteSelectionManager.addSelection(staticUser.id, staticUser.color, staticUser.label);
const targetContentManager = new MonacoCollabExt.EditorContentManager({
editor: target

7956
package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save