diff options
author | fvogel <fvogelnew1@free.fr> | 2022-11-29 21:39:11 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-11-29 21:39:11 (GMT) |
commit | 554d0aa0494b61453f72925c486910f879ab8d95 (patch) | |
tree | 73bba7a66130b5c8ee385ae7197757d2063d02d1 /tests/text.test | |
parent | d077a34aaa586e97e2ea758e96899db8c6e6a659 (diff) | |
download | tk-554d0aa0494b61453f72925c486910f879ab8d95.zip tk-554d0aa0494b61453f72925c486910f879ab8d95.tar.gz tk-554d0aa0494b61453f72925c486910f879ab8d95.tar.bz2 |
Cherrypick [669395f7]: text-23.*: Enlarge the width of the text widget to be sure there is enough room to display the tabbed text without wrapping.
Diffstat (limited to 'tests/text.test')
-rw-r--r-- | tests/text.test | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/text.test b/tests/text.test index 2f5f1fc..43810cd 100644 --- a/tests/text.test +++ b/tests/text.test @@ -6098,7 +6098,7 @@ test text-22.250 {TextSearchCmd, backwards search all matching at start of line} } -result {1.1 1.0 1.0} test text-23.1 {TkTextGetTabs procedure} -setup { - text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 100 + text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 150 pack .t } -body { .t insert end "1\t2\t3\t4\t55.5" @@ -6107,7 +6107,7 @@ test text-23.1 {TkTextGetTabs procedure} -setup { destroy .t } -returnCodes {error} -result {unmatched open brace in list} test text-23.2 {TkTextGetTabs procedure} -setup { - text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 100 + text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 150 pack .t } -body { .t insert end "1\t2\t3\t4\t55.5" @@ -6116,7 +6116,7 @@ test text-23.2 {TkTextGetTabs procedure} -setup { destroy .t } -returnCodes {error} -result {bad screen distance "xyz"} test text-23.3 {TkTextGetTabs procedure} -setup { - text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 100 + text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 150 pack .t } -body { .t insert end "1\t2\t3\t4\t55.5" @@ -6127,7 +6127,7 @@ test text-23.3 {TkTextGetTabs procedure} -setup { destroy .t } -result {100 200} test text-23.4 {TkTextGetTabs procedure} -setup { - text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 100 + text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 150 pack .t } -body { .t insert end "1\t2\t3\t4\t55.5" @@ -6141,7 +6141,7 @@ test text-23.4 {TkTextGetTabs procedure} -setup { destroy .t } -result {100 200 300 400} test text-23.5 {TkTextGetTabs procedure} -setup { - text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 100 + text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 150 pack .t } -body { .t insert end "1\t2\t3\t4\t55.5" @@ -6155,7 +6155,7 @@ test text-23.5 {TkTextGetTabs procedure} -setup { destroy .t } -result {105 205 305 405} test text-23.6 {TkTextGetTabs procedure} -setup { - text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 100 + text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 150 pack .t } -body { .t insert end "1\t2\t3\t4\t55.5" @@ -6164,7 +6164,7 @@ test text-23.6 {TkTextGetTabs procedure} -setup { destroy .t } -returnCodes {error} -result {bad tab alignment "lork": must be left, right, center, or numeric} test text-23.7 {TkTextGetTabs procedure} -setup { - text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 100 + text .t -highlightthickness 0 -bd 0 -relief flat -padx 0 -width 150 pack .t } -body { .t insert end "1\t2\t3\t4\t55.5" |