summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/IDLE
diff options
context:
space:
mode:
authorTal Einat <taleinat@gmail.com>2019-07-17 08:15:53 (GMT)
committerGitHub <noreply@github.com>2019-07-17 08:15:53 (GMT)
commit7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2 (patch)
treeaf7513ef796268a9749c1b4dc3fdcfb83a4f8b0b /Misc/NEWS.d/next/IDLE
parentbd26a4466b507e196fc9a5e4a6cb7cd6d39f85aa (diff)
downloadcpython-7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2.zip
cpython-7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2.tar.gz
cpython-7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2.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
Diffstat (limited to 'Misc/NEWS.d/next/IDLE')
-rw-r--r--Misc/NEWS.d/next/IDLE/2019-07-11-00-05-31.bpo-37530.AuyCyD.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/IDLE/2019-07-11-00-05-31.bpo-37530.AuyCyD.rst b/Misc/NEWS.d/next/IDLE/2019-07-11-00-05-31.bpo-37530.AuyCyD.rst
new file mode 100644
index 0000000..0b80860
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2019-07-11-00-05-31.bpo-37530.AuyCyD.rst
@@ -0,0 +1,3 @@
+Optimize code context to reduce unneeded background activity.
+Font and highlight changes now occur along with text changes
+instead of after a random delay.