summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2016-02-08 19:42:54 (GMT)
committerfvogelnew1@free.fr <fvogel>2016-02-08 19:42:54 (GMT)
commit0c241e6ab7d051358e1689d836430a3508a65a45 (patch)
tree0a0a2613d6c10c9daca39770fca6f2b6c3fd5287 /generic
parentbab19d89eb44cdadd8341ebc548f6ba024697bd1 (diff)
downloadtk-0c241e6ab7d051358e1689d836430a3508a65a45.zip
tk-0c241e6ab7d051358e1689d836430a3508a65a45.tar.gz
tk-0c241e6ab7d051358e1689d836430a3508a65a45.tar.bz2
Reverted [311ef109] and [1847c858] because they are no longer needed to fix bug [2f78c7c5ea]. The corresponding test textDisp-9.14 still passes.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextDisp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 91642f9..c5ad36b 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -4806,16 +4806,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 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.
+ * the screen (we only care about what's on the screen).
*/
- if (dInfoPtr->flags & DINFO_OUT_OF_DATE) {
- UpdateDisplayInfo(textPtr);
- }
dlPtr = dInfoPtr->dLinePtr;
if (dlPtr == NULL) {
return;