code: def CreateSourceWindow(self, tabs):
          
          if editor and self.sourceCodeControl is None:
              self.sourceCodeControl = wx.py.editwindow.EditWindow(
                  self.tabs, -1
              )
              self.sourceCodeControl.SetText(u"")
              self.sourceFileShown = None
              self.sourceCodeControl.setDisplayLineNumbers(True)
docs: Create our source-view window for tabs