From afe7848caa7de6d31fd6abcfd3e10e5c735e0dd3 Mon Sep 17 00:00:00 2001 From: fvogel Date: Wed, 3 Dec 2014 12:14:29 +0000 Subject: Fixed embedded windows tests that were failing (on Linux) following [dc9f4bea9f] - See comment in bug [7703f947aa] --- tests/textWind.test | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/textWind.test b/tests/textWind.test index 23a9e71..537076f 100644 --- a/tests/textWind.test +++ b/tests/textWind.test @@ -444,6 +444,7 @@ test textWind-10.4 {EmbWinLayoutProc procedure, error in creating window} {textf .t delete 1.0 end .t insert 1.0 "Some sample text" catch {destroy .t.f} + update set msg {} after idle { .t window create 1.5 -create { -- cgit v0.12 From db8f115a29feec1484f0873b6ea6ce841a8da1f5 Mon Sep 17 00:00:00 2001 From: fvogel Date: Wed, 3 Dec 2014 20:29:56 +0000 Subject: Make textDisp-9.6 pass on Linux as well (reduce font-dependance and sensitivity to toplevel window geometry) --- tests/textDisp.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/textDisp.test b/tests/textDisp.test index b04b2ce..5c0aace 100644 --- a/tests/textDisp.test +++ b/tests/textDisp.test @@ -1203,7 +1203,7 @@ test textDisp-9.5 {TkTextRedrawTag} { test textDisp-9.6 {TkTextRedrawTag} { .t configure -wrap char .t delete 1.0 end - .t insert 1.0 "Line 1\nLine 2 is long enough to wrap\nLine 3 is also long enough to wrap\nLine 4" + .t insert 1.0 "Line 1\nLine 2 is long enough to wrap\nLine 3 is also long enough to wrap" update .t tag add big 2.2 3.5 update -- cgit v0.12 From 5ce3c4abf44a4a77f9b029030e40975bc5f08619 Mon Sep 17 00:00:00 2001 From: fvogel Date: Wed, 3 Dec 2014 20:30:35 +0000 Subject: Make textDisp-9.6 pass on Linux as well (reduce font-dependance and sensitivity to toplevel window geometry) --- tests/textDisp.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/textDisp.test b/tests/textDisp.test index 5c0aace..a3f9ae9 100644 --- a/tests/textDisp.test +++ b/tests/textDisp.test @@ -1210,7 +1210,7 @@ test textDisp-9.6 {TkTextRedrawTag} { .t tag remove big 1.0 end update list $tk_textRelayout $tk_textRedraw -} {{2.0 2.20 3.0 3.20} {2.0 2.20 3.0 3.20 4.0 eof}} +} {{2.0 2.20 3.0 3.20} {2.0 2.20 3.0 3.20 eof}} test textDisp-9.7 {TkTextRedrawTag} { .t configure -wrap char .t delete 1.0 end -- cgit v0.12