mirror of
https://github.com/convergencelabs/monaco-collab-ext.git
synced 2024-10-27 20:34:17 +00:00
Updated the example to leverage the new hover label.
This commit is contained in:
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
Normal file
7956
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user