summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-10-22 22:10:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-10-22 22:10:08 (GMT)
commit5969910620bf508843c84476d7ccb60a0e9e8506 (patch)
tree60407ab2b66887151e4c3f098af7fe1538a71b12 /tests
parentf70c57e43b0094e798794afa13205580c3113f71 (diff)
downloadtk-5969910620bf508843c84476d7ccb60a0e9e8506.zip
tk-5969910620bf508843c84476d7ccb60a0e9e8506.tar.gz
tk-5969910620bf508843c84476d7ccb60a0e9e8506.tar.bz2
Apply (upgraded) version of [Patch 1469210].
Diffstat (limited to 'tests')
-rw-r--r--tests/text.test15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/text.test b/tests/text.test
index 0158389..f720721 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.19.2.2 2007/12/13 00:31:34 hobbs Exp $
+# RCS: @(#) $Id: text.test,v 1.19.2.3 2009/10/22 22:10:08 dkf Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
@@ -1620,6 +1620,19 @@ test text-25.14 {undo with space-based path} {
$t get 1.0 end
} "line 1\n\n"
+test text-25.18 {patch 1469210 - inserting after undo} -setup {
+ destroy .t
+} -body {
+ text .t -undo 1
+ .t insert end foo
+ .t edit modified 0
+ .t edit undo
+ .t insert end bar
+ .t edit modified
+} -cleanup {
+ destroy .t
+} -result 1
+
test text-26.1 {bug fix - 624372, ControlUtfProc long lines} {
destroy .t
pack [text .t -wrap none]