diff options
author | fvogel <fvogelnew1@free.fr> | 2012-08-11 07:37:16 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2012-08-11 07:37:16 (GMT) |
commit | f767dc6c4733f2f30361b058ecdc1a8e7d15bcad (patch) | |
tree | b1d0ae316da89c573210852c2cf2b680473f8bbd /generic | |
parent | 60370012590a96ccb9b812f8688a0f8822c9883b (diff) | |
parent | c30d40b30f86963a0c36810efdcd76302cc7c5b3 (diff) | |
download | tk-f767dc6c4733f2f30361b058ecdc1a8e7d15bcad.zip tk-f767dc6c4733f2f30361b058ecdc1a8e7d15bcad.tar.gz tk-f767dc6c4733f2f30361b058ecdc1a8e7d15bcad.tar.bz2 |
Fixed [Bug 3554273]: Test textDisp-32.2 failed
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTextTag.c | 5 |
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++; } /* |