This version of Unity is unsupported.

CodeEditor.CurrentEditor

public static Unity.CodeEditor.IExternalCodeEditor CurrentEditor;

Description

Returns the current IExternalCodeEditor instance for the chosen code editor.