code: def search_next(self):
          
  
          pattern = self.get_selected_text() or self.__search_pattern
          if not pattern:
              return False
  
          return self.search(pattern, **{"case_sensitive": True,
                                         "whole_word": False,
                                         "regular_expressions": False,
                                         "backward_search": False,
                                         "wrap_around": True})
docs: Searchs the next search pattern in the document.
  
          :return: Method success.
          :rtype: bool