'Returns a reference to the parent code editor widget.
**READ ONLY**
:rtype: spyder.widgets.sourcecode.CodeEditor'

@property
def editor(self):

    if (self._editor is not None):
        return self._editor
    else:
        return None
