summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--generic/tkText.c1
-rw-r--r--generic/tkText.h7
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7240b9a..109dd2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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.