new BeforeEditorOpenedEvent(type, editor, options)
Event generated before the editor is loaded. Its usage include:
- adding new actions to the editor's action manager.
- changing the startup options of the editor.
later to load the editor with the new options.
||string||The type of the event.|
||sync.api.Editor||The editor that was loaded.|
||sync.api.Workspace.LoadingOptions||The options used to open the editor.|
The options used to load the editor. If these options are changed during the sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, they will be taken into account during the editor loading.