summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2014-11-23 14:09:09 (GMT)
committerfvogel <fvogelnew1@free.fr>2014-11-23 14:09:09 (GMT)
commitf98600555ab58fe42e94755af92f936152cbda25 (patch)
tree1c0fb793de32e7adf8eddcffb276da16ce5c22c6 /tests
parentdd320ac02249bc0c6455314183ab93b98e32de52 (diff)
parent34b765f14f011c5b1d1f836997b5bfbcf89b6b1e (diff)
downloadtk-f98600555ab58fe42e94755af92f936152cbda25.zip
tk-f98600555ab58fe42e94755af92f936152cbda25.tar.gz
tk-f98600555ab58fe42e94755af92f936152cbda25.tar.bz2
Merged from branch bug-7703f947aa
Diffstat (limited to 'tests')
-rw-r--r--tests/textDisp.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index 96670ac..4b5c8c1 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -1275,6 +1275,21 @@ test textDisp-9.12 {TkTextRedrawTag} {
update
list $tk_textRelayout $tk_textRedraw
} {2.0 {2.0 eof}}
+test textDisp-9.13 {TkTextRedrawTag} {
+ .t configure -wrap none
+ .t delete 1.0 end
+ for {set i 1} {$i < 10} {incr i} {
+ .t insert end "Line $i - This is Line [format %c [expr 64+$i]]\n"
+ }
+ .t tag add hidden 2.8 2.17
+ .t tag add hidden 6.8 7.17
+ .t tag configure hidden -background red
+ .t tag configure hidden -elide true
+ update
+ .t tag configure hidden -elide false
+ update
+ list $tk_textRelayout $tk_textRedraw
+} {{2.0 6.0 7.0} {2.0 6.0 7.0}}
test textDisp-10.1 {TkTextRelayoutWindow} {
.t configure -wrap char