Title: bpo-28097: IDLE - Add Previous/Next History to Shell menu by csabella · Pull Request #11325 · python/cpython · GitHub
Open Graph Title: bpo-28097: IDLE - Add Previous/Next History to Shell menu by csabella · Pull Request #11325 · python/cpython
X Title: bpo-28097: IDLE - Add Previous/Next History to Shell menu by csabella · Pull Request #11325 · python/cpython
Description: The first commit adds the entries the menu and the second commit grays out the entries when the shell is initially opened. Some observations: I thought about calling the menu items 'Previous Command' and 'Next Command' instead of using the word 'history'. When a shell is restarted, the history isn't cleared. Should there be a menu item to clear history on demand? The history is always cyclic unless someone edits their config file by hand. Since it's not on configdialog to set it, I enable both menu entries whenever there is any history (since, when cyclic, there is always a Previous and Next entry). I think enabling the menu entries when the cyclic flag is False would best be handled at the time cyclic is added the condigdialog. I added a new function to editor.py to update the state for the menu items. Because of this, I changed the recently added code for enabling/disabling the Code Context menu item to use this new function. https://bugs.python.org/issue28097
Open Graph Description: The first commit adds the entries the menu and the second commit grays out the entries when the shell is initially opened. Some observations: I thought about calling the menu items 'Previous C...
X Description: The first commit adds the entries the menu and the second commit grays out the entries when the shell is initially opened. Some observations: I thought about calling the menu items 'Previo...
Opengraph URL: https://github.com/python/cpython/pull/11325
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f2cc6195-f2e4-e325-db64-f7abd8ad882e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D1E4:18EF1B:7670625:A597A26:6A500F6E |
| html-safe-nonce | 613433ddf913f033b78b613956dfbcbd58c5580a08bfe745de69de7e5bc2cb91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUU0OjE4RUYxQjo3NjcwNjI1OkE1OTdBMjY6NkE1MDBGNkUiLCJ2aXNpdG9yX2lkIjoiNjQ1MDk5MjQ4ODk3OTEwNzY5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30bbd595676e97ca66eb9862ca200a738516001da9f042b0dc2ed9607d0353b5 |
| hovercard-subject-tag | pull_request:241031165 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/11325/files |
| twitter:image | https://avatars.githubusercontent.com/u/25619791?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/25619791?s=400&v=4 |
| og:image:alt | The first commit adds the entries the menu and the second commit grays out the entries when the shell is initially opened. Some observations: I thought about calling the menu items 'Previous C... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fe4f38b24922a1ce81c1708c3793b47c185599b9144ab94f6ca846b00698058d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42b6390c91978a16f9196c38c7a00e9bf21f37e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width