summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-04-08 19:32:52 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-04-08 19:32:52 (GMT)
commitf79e22d2b2953a58f9a5bfb6550c6cd938ad5c29 (patch)
treed99c175a9f85ea791f2f1097dd06449b4ff8887a /tests
parentf344455130ff20d0c78be8a1ee3965617e5e087c (diff)
downloadtk-f79e22d2b2953a58f9a5bfb6550c6cd938ad5c29.zip
tk-f79e22d2b2953a58f9a5bfb6550c6cd938ad5c29.tar.gz
tk-f79e22d2b2953a58f9a5bfb6550c6cd938ad5c29.tar.bz2
Fixed crash with display wordstart - Bug [e4ed00a954]
Diffstat (limited to 'tests')
-rw-r--r--tests/textIndex.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/textIndex.test b/tests/textIndex.test
index 28dc0df..92cbff0 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]