diff options
author | fvogel <fvogel@noemail.net> | 2015-02-11 20:19:27 (GMT) |
---|---|---|
committer | fvogel <fvogel@noemail.net> | 2015-02-11 20:19:27 (GMT) |
commit | 8482dc64acbe20c6e888d2ff828e89e8a98f727e (patch) | |
tree | dc0f0006ba93f8d27bdb50c9852738600fa930d3 /tests | |
parent | f49e28088302be483ff7a67810844f31165f8c85 (diff) | |
parent | 0fb6ee4f187ba7a98d9c92aeeb355fbf8368ddc3 (diff) | |
download | tk-8482dc64acbe20c6e888d2ff828e89e8a98f727e.zip tk-8482dc64acbe20c6e888d2ff828e89e8a98f727e.tar.gz tk-8482dc64acbe20c6e888d2ff828e89e8a98f727e.tar.bz2 |
Merged branch bug-382da038c9
FossilOrigin-Name: 442da41fffde25889280a1d6956053ab2465fda3
Diffstat (limited to 'tests')
-rw-r--r-- | tests/textBTree.test | 10 |
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} |