summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-12-23 16:43:16 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-12-23 16:43:16 (GMT)
commita9da52862c63ba71773ced3f712e3565c2b3d81b (patch)
tree3171b4665efe5d4b34d7cdb2163b2861dbd7ae42 /generic/tkTextDisp.c
parent9e128a5e118f9b0ce894219129ba49b53f6cc3a8 (diff)
downloadtk-a9da52862c63ba71773ced3f712e3565c2b3d81b.zip
tk-a9da52862c63ba71773ced3f712e3565c2b3d81b.tar.gz
tk-a9da52862c63ba71773ced3f712e3565c2b3d81b.tar.bz2
Better comment about the fix, since the issue is now fully understood.bug_2f78c7c5ea
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index b832443..133a7d7 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -4805,8 +4805,9 @@ TextRedrawTag(
* Round up the starting position if it's before the first line visible on
* the screen (we only care about what's on the screen). Beware that the
* display info structure might need update, for instance if we arrived
- * here after a delete operation triggering a trace running a tag removal
- * covering the whole contents of the text widget.
+ * here from an 'after idle' script removing tags in a range whose
+ * display lines (and dInfo) were partially invalidated by a previous
+ * delete operation in the text widget.
*/
if (dInfoPtr->flags & DINFO_OUT_OF_DATE) {