Update visible docstring and matches and box visibility
(self, tab=False)
| 1217 | raise ValueError("add_to_incremental_search not in a special mode") |
| 1218 | |
| 1219 | def update_completion(self, tab=False): |
| 1220 | """Update visible docstring and matches and box visibility""" |
| 1221 | # Update autocomplete info; self.matches_iter and self.funcprops |
| 1222 | # Should be called whenever the completion box might need to appear |
| 1223 | # or disappear; whenever current line or cursor offset changes, |
| 1224 | # unless this happened via selecting a match |
| 1225 | self.current_match = None |
| 1226 | self.list_win_visible = self.complete(tab) |
| 1227 | |
| 1228 | def predicted_indent(self, line): |
| 1229 | # TODO get rid of this! It's repeated code! Combine with Repl. |