summaryrefslogtreecommitdiffstats
path: root/tests/canvText.test
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1999-04-20 22:28:52 (GMT)
committerrjohnson <rjohnson>1999-04-20 22:28:52 (GMT)
commit1c942064cf9b59db035a8eef8e4bc1b7430a6c30 (patch)
tree98a33e1f0065ec939abd7214d5a45201bcd73515 /tests/canvText.test
parente38dd7f49658db57b71523a94c2a90f301797a4e (diff)
downloadtk-1c942064cf9b59db035a8eef8e4bc1b7430a6c30.zip
tk-1c942064cf9b59db035a8eef8e4bc1b7430a6c30.tar.gz
tk-1c942064cf9b59db035a8eef8e4bc1b7430a6c30.tar.bz2
Fixed bug 1777 - bug in displaying selection.
Diffstat (limited to 'tests/canvText.test')
-rw-r--r--tests/canvText.test15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/canvText.test b/tests/canvText.test
index f0d9b85..b5933f5 100644
--- a/tests/canvText.test
+++ b/tests/canvText.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: canvText.test,v 1.4 1999/04/16 01:51:35 stanton Exp $
+# RCS: @(#) $Id: canvText.test,v 1.5 1999/04/20 22:28:52 rjohnson Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -240,6 +240,19 @@ test canvText-7.8 {DisplayText procedure: not selected} {
.c select clear
update
} {}
+test canvText-7.9 {DisplayText procedure: select end} {
+ catch {destroy .t}
+ toplevel .t
+ canvas .t.c
+ pack .t.c
+ set id [.t.c create text 0 0 -text Dummy -anchor nw]
+ update
+ .t.c select from $id 0
+ .t.c select to $id end
+ update
+ #catch {destroy .t}
+ update
+} {}
test canvText-8.1 {TextInsert procedure: 0 length insert} {
.c insert test end {}