Lines Matching refs:ok
94 def search_text(self, text, prog=None, ok=0):
107 there is no selection) is ignored unless the ok flag is true
121 if ok:
126 res = self.search_backward(text, prog, line, col, wrap, ok)
128 if ok:
133 res = self.search_forward(text, prog, line, col, wrap, ok)
136 def search_forward(self, text, prog, line, col, wrap, ok=0):
143 if ok or m.end() > col:
149 ok = 1
158 def search_backward(self, text, prog, line, col, wrap, ok=0):
165 if ok or m.start() < col:
170 ok = 1