summaryrefslogtreecommitdiffstats
path: root/tests/entry.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-08 21:07:23 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-08 21:07:23 (GMT)
commit3ab946c3a13a9f42cf14322a908810eb56a2d4f5 (patch)
treeec2b3f74834da83c8db01b2957e5fd6ca344f5e2 /tests/entry.test
parent73b89417809cc91f33a1a6c9679510b21129db52 (diff)
parent039265e2a240d17e785c3d0d55fa6a108e53f44e (diff)
downloadtk-3ab946c3a13a9f42cf14322a908810eb56a2d4f5.zip
tk-3ab946c3a13a9f42cf14322a908810eb56a2d4f5.tar.gz
tk-3ab946c3a13a9f42cf14322a908810eb56a2d4f5.tar.bz2
Fixed bug [220854fff] - Trailing tab characters in entry widgets are not displayed
Diffstat (limited to 'tests/entry.test')
-rw-r--r--tests/entry.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/entry.test b/tests/entry.test
index 11408ac..f261f0d 100644
--- a/tests/entry.test
+++ b/tests/entry.test
@@ -1892,6 +1892,19 @@ test entry-6.11 {EntryComputeGeometry procedure} -constraints {
} -cleanup {
destroy .e
} -result {1 1 1}
+test entry-6.12 {EntryComputeGeometry procedure} -constraints {
+ fonts
+} -setup {
+ catch {destroy .e}
+ entry .e -font $fixed -bd 2 -relief raised -width 20
+ pack .e
+} -body {
+ .e insert end "012\t456\t"
+ update
+ list [.e index @81] [.e index @82] [.e index @116] [.e index @117]
+} -cleanup {
+ destroy .e
+} -result {6 7 7 8}
test entry-7.1 {InsertChars procedure} -setup {