diff options
Diffstat (limited to 'tests/text.test')
-rw-r--r-- | tests/text.test | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/text.test b/tests/text.test index 1c21d21..a5cdfbe 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 2002/10/17 23:38:01 hobbs Exp $ +# RCS: @(#) $Id: text.test,v 1.19.2.1 2006/04/05 19:48:44 hobbs Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -1573,6 +1573,18 @@ test text-25.13 {-maxundo configuration option} { .t get 1.0 end } "line 1\n\n" +test text-25.14 {undo with space-based path} { + set t {.t e x t} + destroy $t + text $t -undo 1 + $t insert end "line 1\n" + $t delete 1.4 1.6 + $t insert end "line 2\n" + $t edit undo + $t edit undo + $t get 1.0 end +} "line 1\n\n" + test text-26.1 {bug fix - 624372, ControlUtfProc long lines} { destroy .t pack [text .t -wrap none] |