diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-17 08:44:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-17 08:44:55 (GMT) |
commit | 6cf7c45cb5691b75d9a774c904df02a4f8bfcd04 (patch) | |
tree | 5dab274be23a99ab40deae65a997f31df8ed40e5 /Lib/email/_header_value_parser.py | |
parent | 35d36dacd410af96d794277c5ae6986d95d50e5a (diff) | |
download | cpython-6cf7c45cb5691b75d9a774c904df02a4f8bfcd04.zip cpython-6cf7c45cb5691b75d9a774c904df02a4f8bfcd04.tar.gz cpython-6cf7c45cb5691b75d9a774c904df02a4f8bfcd04.tar.bz2 |
bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675)
* 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 7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2)
Co-authored-by: Tal Einat <taleinat@gmail.com>
Diffstat (limited to 'Lib/email/_header_value_parser.py')
0 files changed, 0 insertions, 0 deletions