Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-10-28
20:12 • Closed ticket [1056072fff]: text widget insert with sel tag does not export to X... artifact: a1faabc7aa user: dkf
12:50 • New ticket [1056072fff]. artifact: a278930a81 user: nobody

text widget insert with sel tag does not export to X

Closed / Invalid1056072fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-10-28 12:50:25
If I clear a text widget and then insert text with the
sel tag, it displays as selected, but the selection is
not exported to X.  I can work around by using the tag
command.  

text .foo
.foo delete 1.0 end
.foo insert end "hello" sel

at this point, the text "hello" is selected, but not
exported.

.foo tag add sel 1.0 end

at this point, the text is also exported.

Raphael Finkel
[email protected]
dkfplain2004-10-28 20:12:09
Logged In: YES 
user_id=79902

This is a Tk issue, not a Tcl issue.

(And it works for me.)
Log in (anonymous is fine) to add a comment.