Title: [3.8] bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675) by miss-islington · Pull Request #14807 · python/cpython · GitHub
Open Graph Title: [3.8] bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675) by miss-islington · Pull Request #14807 · python/cpython
X Title: [3.8] bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675) by miss-islington · Pull Request #14807 · python/cpython
Description: Only create CodeContext instances for "real" editors windows, but not e.g. shell or output windows. Remove configuration update Tk event fired every second, by having the editor window ask its code context widget to update when necessary, i.e. upon font or highlighting updates. When code context isn't being shown, avoid having a Tk event fired every 100ms to check whether the code context needs to be updated. Use the editor window's getlineno() method where applicable. Update font of the code context widget before the main text widget (cherry picked from commit 7036e1d) Co-authored-by: Tal Einat taleinat@gmail.com https://bugs.python.org/issue37530
Open Graph Description: Only create CodeContext instances for "real" editors windows, but not e.g. shell or output windows. Remove configuration update Tk event fired every second, by having the editor window as...
X Description: Only create CodeContext instances for "real" editors windows, but not e.g. shell or output windows. Remove configuration update Tk event fired every second, by having the editor w...
Opengraph URL: https://github.com/python/cpython/pull/14807
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:700c2a1d-60c8-dfd1-9743-bab27037d867 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FAA:6E5C4:2EA2FF:3FC944:6A51414C |
| html-safe-nonce | a5acd470f076220789eae420561931215b65d2100589b384d2e9623e65d992b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkFBOjZFNUM0OjJFQTJGRjozRkM5NDQ6NkE1MTQxNEMiLCJ2aXNpdG9yX2lkIjoiNjU3NDIyNTE5NzA0MzA1OTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bba605e8183acf7b15ef613970f4b129e05053990ebf2442c62d301e1f5fe08b |
| hovercard-subject-tag | pull_request:298355395 |
| 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/14807/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | Only create CodeContext instances for "real" editors windows, but not e.g. shell or output windows. Remove configuration update Tk event fired every second, by having the editor window as... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff |
| 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 | e876f00c5723f6080b9d294e4958fd4d506e6faf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width