summaryrefslogtreecommitdiffstats
path: root/tests/text.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-11 09:24:02 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-11 09:24:02 (GMT)
commit3259fbc2451dd52b8aec46351254cf38818b3b83 (patch)
tree2d2e52feae96e890ecd9c448210469e3faab6f8c /tests/text.test
parent9a9c7a13cd0fc38e33f205a83cd439ead0512192 (diff)
downloadtk-3259fbc2451dd52b8aec46351254cf38818b3b83.zip
tk-3259fbc2451dd52b8aec46351254cf38818b3b83.tar.gz
tk-3259fbc2451dd52b8aec46351254cf38818b3b83.tar.bz2
* generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,
there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important.
Diffstat (limited to 'tests/text.test')
-rw-r--r--tests/text.test10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/text.test b/tests/text.test
index 5d3060a..cb2c006 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: text.test,v 1.55 2009/10/22 21:36:24 dkf Exp $
+# RCS: @(#) $Id: text.test,v 1.56 2010/03/11 09:24:09 dkf Exp $
package require tcltest 2.2
eval tcltest::configure $argv
@@ -5875,7 +5875,13 @@ test text-24.26 {TextDumpCmd procedure, unicode characters} -body {
} -cleanup {
destroy .t
} -result "text abc\xb1\xb1\xb1 1.0 mark insert 1.6 mark current 1.6 text {\n} 1.6"
-
+test text-24.27 {TextDumpCmd procedure, peer present} -body {
+ text .t
+ .t peer create .t.t
+ .t dump -all 1.0 end
+} -cleanup {
+ destroy .t
+} -result "mark insert 1.0 mark current 1.0 text {\n} 1.0"
test text-25.1 {text widget vs hidden commands} -body {
text .t