summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2012-08-04 14:30:13 (GMT)
committerfvogel <fvogel@noemail.net>2012-08-04 14:30:13 (GMT)
commitc79174a91772cb10851a87b6cb832ae9f5ecc55f (patch)
tree145256b77257bf9f5873d0b3c2bb019af73c5f1d
parent5513fce5707a525defff0d7e718431ef24476560 (diff)
downloadtk-c79174a91772cb10851a87b6cb832ae9f5ecc55f.zip
tk-c79174a91772cb10851a87b6cb832ae9f5ecc55f.tar.gz
tk-c79174a91772cb10851a87b6cb832ae9f5ecc55f.tar.bz2
Fixed [Bug 3554273]: Test textDisp-32.2 failed
FossilOrigin-Name: 866ba33dfcc5e631425028de491f2dff85675932
-rw-r--r--ChangeLog4
-rw-r--r--generic/tkTextTag.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d356eee..5b0160d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-?? Francois Vogel <fvogelnew1@free.fr>
+
+ * generic/tkTextTag.c: [Bug 3554273]: Test textDisp-32.2 failed
+
2012-08-03 Francois Vogel <fvogelnew1@free.fr>
* tests/bind.test: [Bug 3554081]: Test bind-22.10 failed
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++;
}
/*