diff options
author | fvogelnew1@free.fr <fvogel> | 2012-08-11 07:42:49 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2012-08-11 07:42:49 (GMT) |
commit | 8bd97900d28953a8d137bebeaa5bd4560f4169d3 (patch) | |
tree | 4a85ff43428a394986b7319da8b2b50d4c6b5a72 /generic | |
parent | 5aeda646e5dbf9e9d943f894d4992bc4456dd071 (diff) | |
parent | d2e17eb029740b02c68853c15f9018a82989f1d1 (diff) | |
download | tk-8bd97900d28953a8d137bebeaa5bd4560f4169d3.zip tk-8bd97900d28953a8d137bebeaa5bd4560f4169d3.tar.gz tk-8bd97900d28953a8d137bebeaa5bd4560f4169d3.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 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++; } /* |