diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-25 05:43:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-25 05:43:02 (GMT) |
commit | d0ec7cfad69280c901ae3184aea3ca1156a60acb (patch) | |
tree | 125a348f8def3b9f150c6a281fc66b95cfa888c0 /generic | |
parent | b234fa21ff63b9be8fba12185f3f87a228bac3fc (diff) | |
parent | 46763e67f1830a5bb94b2576b9029f0b21aa789f (diff) | |
download | tk-d0ec7cfad69280c901ae3184aea3ca1156a60acb.zip tk-d0ec7cfad69280c901ae3184aea3ca1156a60acb.tar.gz tk-d0ec7cfad69280c901ae3184aea3ca1156a60acb.tar.bz2 |
patch 3476698: Patch for failing test text-31.11
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkText.c | 1 | ||||
-rw-r--r-- | generic/tkText.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index 448cab1..fe358b6 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -2110,6 +2110,7 @@ ConfigureText( textPtr->abortSelections = 1; } } + textPtr->sharedTextPtr->stateEpoch++; } /* diff --git a/generic/tkText.h b/generic/tkText.h index 483550b..fb9eab2 100644 --- a/generic/tkText.h +++ b/generic/tkText.h @@ -550,9 +550,10 @@ typedef struct TkSharedText { * Each "object" used for this table is the * name of a tag. */ int stateEpoch; /* This is incremented each time the B-tree's - * contents change structurally, and means - * that any cached TkTextIndex objects are no - * longer valid. */ + * contents change structurally, or when the + * start/end limits change, and means that any + * cached TkTextIndex objects are no longer + * valid. */ /* * Information related to the undo/redo functionality. |