Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-10-03
20:14 • Closed ticket [604554ffff]: Elide text scrolling doesn't work plus 9 oth... artifact: f8af01d36b user: dkf
2002-09-04
14:33 • New ticket [604554ffff]. artifact: 399ae4a542 user: nobody

Elide text scrolling doesn't work

Closed / Invalid604554ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-09-04 14:33:10
when trying to scroll elide text the scrollbar thumb 
is going berserk.

example:

text .t -yscrollcommand ".yscroll set" -wrap none
scrollbar .yscroll -command ".t yview" -orient vert

pack .yscroll -side right -fill y
pack .t -fill both -expand true

for {set i 0} {$i < 100} {incr i} {
 .t insert end "Testing 123...\n" ELIDE
}

for {set i 0} {$i < 100} {incr i} {
 .t insert end "Testing 123...\n"
}

.t tag configure ELIDE -elide 1
dkfplain2002-10-03 20:14:46
Logged In: YES 
user_id=79902

This is a Tk bug, not a Tcl one.  Please resubmit.
(And anyway, -elide handling is known to be wacky when used
for anything other than a very short piece of text,
especially if it includes newlines.)
Log in (anonymous is fine) to add a comment.