summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2012-08-04 14:30:13 (GMT)
committerfvogel <fvogelnew1@free.fr>2012-08-04 14:30:13 (GMT)
commitc30d40b30f86963a0c36810efdcd76302cc7c5b3 (patch)
tree145256b77257bf9f5873d0b3c2bb019af73c5f1d /generic
parentc5cec293c36590212edd4980c63f5dd8b752f178 (diff)
downloadtk-c30d40b30f86963a0c36810efdcd76302cc7c5b3.zip
tk-c30d40b30f86963a0c36810efdcd76302cc7c5b3.tar.gz
tk-c30d40b30f86963a0c36810efdcd76302cc7c5b3.tar.bz2
Fixed [Bug 3554273]: Test textDisp-32.2 failedbug_3554273
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextTag.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tkTextTag.c b/generic/tkTextTag.c
index 2df950a..5162e16 100644
--- a/generic/tkTextTag.c
+++ b/generic/tkTextTag.c
@@ -457,6 +457,11 @@ TkTextTagCmd(
&tagPtr->elide) != TCL_OK) {
return TCL_ERROR;
}
+ /* Indices are potentially obsolete after changing -elide,
+ * especially those computed with "display" or "any"
+ * submodifier, therefore increase the epoch.
+ */
+ textPtr->sharedTextPtr->stateEpoch++;
}
/*