summaryrefslogtreecommitdiffstats
path: root/generic/tkTextTag.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2012-08-11 07:42:49 (GMT)
committerfvogel <fvogelnew1@free.fr>2012-08-11 07:42:49 (GMT)
commitb1389978ea8fdb2388386559c06247cb00ce48b1 (patch)
tree4a85ff43428a394986b7319da8b2b50d4c6b5a72 /generic/tkTextTag.c
parent97d9fe6b3af14216475f77bf4f86ffb69a35e296 (diff)
parentf767dc6c4733f2f30361b058ecdc1a8e7d15bcad (diff)
downloadtk-b1389978ea8fdb2388386559c06247cb00ce48b1.zip
tk-b1389978ea8fdb2388386559c06247cb00ce48b1.tar.gz
tk-b1389978ea8fdb2388386559c06247cb00ce48b1.tar.bz2
Fixed [Bug 3554273]: Test textDisp-32.2 failed
Diffstat (limited to 'generic/tkTextTag.c')
-rw-r--r--generic/tkTextTag.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tkTextTag.c b/generic/tkTextTag.c
index 9afda0a..6cd018a 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++;
}
/*