summaryrefslogtreecommitdiffstats
path: root/tests/textBTree.test
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-02-08 19:11:43 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-02-08 19:11:43 (GMT)
commit18f2e1741d0d33bae8f2af2799c5415e068e7956 (patch)
tree3bf694002f95b3e0b50e61e999c395b1ea099329 /tests/textBTree.test
parentea47647252dca469a3a52f772c7fb97e2b2a3a39 (diff)
downloadtk-18f2e1741d0d33bae8f2af2799c5415e068e7956.zip
tk-18f2e1741d0d33bae8f2af2799c5415e068e7956.tar.gz
tk-18f2e1741d0d33bae8f2af2799c5415e068e7956.tar.bz2
Stop panic (Bad tag priority being toggled on) - Bug [382da038c9]
Diffstat (limited to 'tests/textBTree.test')
-rw-r--r--tests/textBTree.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/textBTree.test b/tests/textBTree.test
index 3a89e55..1eb7c75 100644
--- a/tests/textBTree.test
+++ b/tests/textBTree.test
@@ -664,6 +664,16 @@ test btree-14.1 {check tag presence} {
.t tag add x 141.3
.t tag names 141.1
} {x y z}
+test btree-14.2 {TkTextIsElided} {
+ .t delete 1.0 end
+ .t tag config hidden -elide 1
+ .t insert end "Line1\nLine2\nLine3\n"
+ .t tag add hidden 2.0 3.0
+ .t tag add sel 1.2 3.2
+ # next line used to panic because of "Bad tag priority being toggled on"
+ # (see bug [382da038c9])
+ .t index "2.0 - 1 display line linestart"
+} {1.0}
test btree-15.1 {rebalance with empty node} {
catch {destroy .t}