def contains(self, text):
     if self._value is None:
         return False
     return [
         item for item in self._value.split(' | ')
         if highlight_matcher(text, item)
     ] != []
Beispiel #2
0
 def matches(self, value):
     return highlightmatcher.highlight_matcher(value,
                                               self._cell_content.value)
 def matcher(self, value, content):
     return highlight_matcher(value, content)
 def matcher(self, value, content):
     return highlight_matcher(value, content)
Beispiel #5
0
 def matches(self, value):
     return highlightmatcher.highlight_matcher(value, self._cell_content.value)
Beispiel #6
0
 def contains(self, text):
     if self._value is None:
         return False
     return [item for item in self._value.split(' | ')
             if highlight_matcher(text, item)] != []