• Emitted when an editor is created. Creating a diff editor might cause this listener to be invoked with the two editors.

    Parameters

    • listener: ((codeEditor) => void)
        • (codeEditor): void
        • Parameters

          Returns void

    Returns IDisposable