The problem is that it tries to read the "anchor" mark in order to
correctly update the selection, but in Tk 8.5 it has been renamed to
be unique to each text widget and is noted to be private. What is the
correct way to customise this behaviour? I can get it to work by
calling tk::TextKeySelect (and the resulting code is much simpler!)
but I'm not sure if this is really supposed to be a public method. Is
it just as likely to change in future versions? How many versions back
will it work? Is there a better way? I don't think reimplementing the
entire text selection system is a viable option.
Many thanks,
Weeble.
Oops, obviously I mean anchor *mark*, not tag.
Well, maybe it is... but someone else already did it for you. Have a look at the ntext package in tklib, discussed on http://wiki.tcl.tk/17976
--Koen