code: def get_current_searchpath(self):
          
          idx = self.currentIndex()
          if idx == CWD:
              return self.path
          elif idx == PROJECT:
              return self.project_path
          elif idx == FILE_PATH:
              return self.file_path
          else:
              return self.external_path
docs: Returns the path corresponding to the currently selected item
          in the combobox.