summaryrefslogtreecommitdiffstats
path: root/tests/textIndex.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-04-09 12:39:39 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-04-09 12:39:39 (GMT)
commit350b8594ee53730964e0de9bd44b15f4f6367a7a (patch)
tree24e00ba54c7b8964f630041fe61d4dfc01937344 /tests/textIndex.test
parent5e2c210e3ba8ec1ea66ff9abb1bcce24b3873596 (diff)
parent0b11e8089688af627f728a343b6704d6d39eaaa7 (diff)
downloadtk-350b8594ee53730964e0de9bd44b15f4f6367a7a.zip
tk-350b8594ee53730964e0de9bd44b15f4f6367a7a.tar.gz
tk-350b8594ee53730964e0de9bd44b15f4f6367a7a.tar.bz2
[e4ed00a954] Fixed crash with display wordstart
Diffstat (limited to 'tests/textIndex.test')
-rw-r--r--tests/textIndex.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/textIndex.test b/tests/textIndex.test
index c949b1f..dead9c1 100644
--- a/tests/textIndex.test
+++ b/tests/textIndex.test
@@ -905,6 +905,11 @@ test textIndex-22.12 {text index wordstart, unicode} {
test textIndex-22.13 {text index wordstart, unicode} {
text_test_word wordstart "\uc700\uc700 abc" 8
} 3
+test textIndex-22.15 {text index display wordstart} {
+ catch {destroy .t}
+ text .t
+ .t index "1.0 display wordstart" ; # used to crash
+} 1.0
test textIndex-23.1 {text paragraph start} {
pack [text .t2]