(self, newstart)
| 62 | self.is_configuring = False |
| 63 | |
| 64 | def _change_start(self, newstart): |
| 65 | min_len = min(len(self.start), len(newstart)) |
| 66 | i = 0 |
| 67 | while i < min_len and self.start[i] == newstart[i]: |
| 68 | i += 1 |
| 69 | if i < len(self.start): |
| 70 | self.widget.delete("%s+%dc" % (self.startindex, i), |
| 71 | "%s+%dc" % (self.startindex, len(self.start))) |
| 72 | if i < len(newstart): |
| 73 | self.widget.insert("%s+%dc" % (self.startindex, i), |
| 74 | newstart[i:], |
| 75 | self.tags) |
| 76 | self.start = newstart |
| 77 | |
| 78 | def _binary_search(self, s): |
| 79 | """Find the first index in self.completions where completions[i] is |
no test coverage detected