docs: def find_editor_tab(self, file):
          """
          Finds the **Script_Editor_tabWidget** Widget tab associated to the given file.
  
          :param file: File to search tab for.
          :type file: unicode
          :return: Tab index.
          :rtype: Editor
          """
  
          for i in range(self.Script_Editor_tabWidget.count()):
              if not self.get_widget(i).file == file:
                  continue
  
              LOGGER.debug("> File '{0}': Tab index '{1}'.".format(file, i))
              return i