-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
IDLE completions: format, factor, and fix tasks #71796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
IDLE completions are currently implemented in two files: autocomplete.py and autocomplete_w.py. The first handles 'open' events, decides whether to open a window, and gathers possible completions. The second open a popup and works with the sorted list of possible completions. FIX
Question: Why does 'dooneevent' appear in 2.x code and not 3.x code? Tests: The currently only for a subset of autocomplete methods. There are none for the buggy window. |
New changeset 1ec47de72538 by Terry Jan Reedy in branch 'default': |
Add bpo-27675. If open quote is ' or '', actions (character key or box selection with up or down arrow) after first are not colored. ' and ''' do not complete, when needed, nor close. |
In re-verifying bpo-27675, the color bug seems to be gone. The completion bug is still here, at least on Windows. It would be good to sort the issues by whether they appear to affect autocomplete.py or autocomplete_w.py or both. |
bpo-40892 Use prefixes from rlcompleter. Compute constant once. |
Normally, tab completion works for attributes (after '.' and a possible prefix) and files (after os.sep and a possible prefix). Unique matches to prefixes are immediately selected, as for undotted module names. After changing the completion wait time and before restarting, this is disabled and tab adds spaces instead. This need a new issue and fix. |
The removed post duplicates the content of bpo-37766. Another bug is reported and will be fixed there. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: