コード例 #1
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)
     ] != []
コード例 #2
0
 def matches(self, value):
     return highlightmatcher.highlight_matcher(value,
                                               self._cell_content.value)
コード例 #3
0
 def matcher(self, value, content):
     return highlight_matcher(value, content)
コード例 #4
0
 def matcher(self, value, content):
     return highlight_matcher(value, content)
コード例 #5
0
ファイル: cellinfo.py プロジェクト: jiabinshan/RIDE
 def matches(self, value):
     return highlightmatcher.highlight_matcher(value, self._cell_content.value)
コード例 #6
0
ファイル: settingeditors.py プロジェクト: kaelzhang81/RIDE-1
 def contains(self, text):
     if self._value is None:
         return False
     return [item for item in self._value.split(' | ')
             if highlight_matcher(text, item)] != []