summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-02-08 19:42:54 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-02-08 19:42:54 (GMT)
commit6fcac7ae49122cfb95054e673f24cd82835d4116 (patch)
tree0a0a2613d6c10c9daca39770fca6f2b6c3fd5287
parentecb4e238565152c913a65d2eb5d8ad782793b474 (diff)
downloadtk-6fcac7ae49122cfb95054e673f24cd82835d4116.zip
tk-6fcac7ae49122cfb95054e673f24cd82835d4116.tar.gz
tk-6fcac7ae49122cfb95054e673f24cd82835d4116.tar.bz2
Reverted [311ef109] and [1847c858] because they are no longer needed to fix bug [2f78c7c5ea]. The corresponding test textDisp-9.14 still passes.
-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;