summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2015-12-23 16:43:16 (GMT)
committerfvogel <fvogel@noemail.net>2015-12-23 16:43:16 (GMT)
commitd6f0ed4613b5c8ca53a5cf8a70d6631060ab2961 (patch)
tree3171b4665efe5d4b34d7cdb2163b2861dbd7ae42 /generic
parent2518bd4e8b97ef1af3be66186bea6bd15f7c3244 (diff)
downloadtk-d6f0ed4613b5c8ca53a5cf8a70d6631060ab2961.zip
tk-d6f0ed4613b5c8ca53a5cf8a70d6631060ab2961.tar.gz
tk-d6f0ed4613b5c8ca53a5cf8a70d6631060ab2961.tar.bz2
Better comment about the fix, since the issue is now fully understood.
FossilOrigin-Name: 1847c85844f7e51e4f42a9f1d9d670cc10f48213
Diffstat (limited to 'generic')
-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) {