def search(self):
        """
        Searchs current editor Widget for search pattern.

        :return: Method success.
        :rtype: bool
        """

        editor = self.__container.get_current_editor()
        search_pattern = self.Search_comboBox.currentText()
        replacement_pattern = self.Replace_With_comboBox.currentText()

        if not editor or not search_pattern:
            return False

        self.insert_pattern(search_pattern, self.__search_patterns_model)
        self.insert_pattern(replacement_pattern, self.__replace_with_patterns_model)

        settings = self.__get_settings()

        LOGGER.debug("> 'Search' on '{0}' search pattern with '{1}' settings.".format(search_pattern, settings))

        return editor.search(search_pattern, **settings)
def search ( self ) : editor = self . __container . get_current_editor ( ) search_pattern = self . Search_comboBox . currentText ( ) replacement_pattern = self . Replace_With_comboBox . currentText ( ) if not editor or not search_pattern : return False self . insert_pattern ( search_pattern , self . __search_patterns_model ) self . insert_pattern ( replacement_pattern , self . __replace_with_patterns_model ) settings = self . __get_settings ( ) LOGGER . debug ( "> 'Search' on '{0}' search pattern with '{1}' settings." . format ( search_pattern , settings ) ) return editor . search ( search_pattern , ** settings )
Searchs current editor Widget for search pattern.

        :return: Method success.
        :rtype: bool