Synchronized Editor: Store all events and allow multiple tabs
* This commit refactors the table used to store events. * We also use a UUID as session identifier in the synchronized editor to support multiple concurrent tabs opened by the same user. * Further, we renamed some methods to make them easier to distinguish.
This commit is contained in:

committed by
Sebastian Serth

parent
c42fb8fc09
commit
5dd6df9418
@ -339,7 +339,7 @@ var CodeOceanEditor = {
|
||||
CodeOceanEditor.lastDeltaObject = null;
|
||||
return;
|
||||
}
|
||||
App.synchronized_editor?.send_changes(deltaObject, this.active_file);
|
||||
App.synchronized_editor?.editor_change(deltaObject, this.active_file);
|
||||
|
||||
// TODO: This is a workaround for a bug in Ace. Remove when upgrading Ace.
|
||||
this.handleUTF16Surrogates(deltaObject, session);
|
||||
|
Reference in New Issue
Block a user