diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-25 05:42:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-25 05:42:09 (GMT) |
commit | 46763e67f1830a5bb94b2576b9029f0b21aa789f (patch) | |
tree | 7da1f34eaf9ff213c6988ce546829568c5ee7a7e | |
parent | 33a724f6c44c1c2ab31597a064b552f3d49e1fbf (diff) | |
parent | 02b4ba2b6ff8e6c4ff4e86281b3295479ec8e93e (diff) | |
download | tk-46763e67f1830a5bb94b2576b9029f0b21aa789f.zip tk-46763e67f1830a5bb94b2576b9029f0b21aa789f.tar.gz tk-46763e67f1830a5bb94b2576b9029f0b21aa789f.tar.bz2 |
patch 3476698: Patch for failing test text-31.11
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tkText.c | 1 | ||||
-rw-r--r-- | generic/tkText.h | 7 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2012-01-25 Francois Vogel <fvogelnew1@free.fr> + + * generic/tkText.c: [Bug-3475627]: Test text-31.11 fails + 2012-01-22 Francois Vogel <fvogelnew1@free.fr> * generic/tkTextMark.c: [Bug-3288113,3288121]: Missing marks/endless diff --git a/generic/tkText.c b/generic/tkText.c index d4bc065..6b42489 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -2098,6 +2098,7 @@ ConfigureText( textPtr->abortSelections = 1; } } + textPtr->sharedTextPtr->stateEpoch++; } /* diff --git a/generic/tkText.h b/generic/tkText.h index 289e64b..4ffdc8a 100644 --- a/generic/tkText.h +++ b/generic/tkText.h @@ -561,9 +561,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. |