Staging
v0.5.1
https://github.com/python/cpython
Revision 6cf7c45cb5691b75d9a774c904df02a4f8bfcd04 authored by Miss Islington (bot) on 17 July 2019, 08:44:55 UTC, committed by GitHub on 17 July 2019, 08:44:55 UTC

* 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>
1 parent 35d36da
History
Tip revision: 6cf7c45cb5691b75d9a774c904df02a4f8bfcd04 authored by Miss Islington (bot) on 17 July 2019, 08:44:55 UTC
bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675)
Tip revision: 6cf7c45
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.6 KB
.travis.yml -rw-r--r-- 8.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 65.4 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 13.1 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.5 KB
configure.ac -rw-r--r-- 162.0 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 44.1 KB
setup.py -rw-r--r-- 101.0 KB

README.rst

back to top