Lines Matching full:last
33 last = text.index("sel.last")
35 last = None
37 last = last or first
38 self.show_hit(first, last)
96 first = last = None
111 last = "%d.%d" % (line, j)
113 text.mark_set("insert", last)
116 if first != last:
117 text.delete(first, last)
123 if first and last:
124 self.show_hit(first, last)
138 last = "%d.%d" % (line, j)
139 self.show_hit(first, last)
150 last = text.index("sel.last")
154 first = last = pos = text.index("insert")
166 text.delete(first, last)
174 def show_hit(self, first, last):
178 text.tag_add("sel", first, last)
180 if first == last:
183 text.tag_add("hit", first, last)