diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2009-10-22 22:10:08 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2009-10-22 22:10:08 (GMT) |
commit | 08ed1d5cb5b8d3af75ae87e8d576ca6d2ace5c50 (patch) | |
tree | 60407ab2b66887151e4c3f098af7fe1538a71b12 /tests | |
parent | 98bd7522160c394092253258d3e0bb01abbb3d59 (diff) | |
download | tk-08ed1d5cb5b8d3af75ae87e8d576ca6d2ace5c50.zip tk-08ed1d5cb5b8d3af75ae87e8d576ca6d2ace5c50.tar.gz tk-08ed1d5cb5b8d3af75ae87e8d576ca6d2ace5c50.tar.bz2 |
Apply (upgraded) version of [Patch 1469210].
Diffstat (limited to 'tests')
-rw-r--r-- | tests/text.test | 15 |
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] |