From: Gerhard Reithofer on
Hi Don,

On Tue, 5 Jan 2010, Donal K. Fellows wrote:
> On 5 Jan, 09:37, Gerhard Reithofer <gerhard.reitho...(a)tech-edv.co.at>
> wrote:
> > "Undocumented and unsupported" means that this will be removed
> > "somewhere" with the potential danger of an unexpected removal.
>
> Actually no. It means "internal use only". It's part of the
> implementation of Tk, and not the public API.

ok, let's give it a try.

But there seems to be another problem:
if {$tk_version >= "8.5"} {
set anchor [$TxtWidget index [tk::TextAnchor $TxtWidget]]
} else {
set anchor [$TxtWidget index anchor]
}

Now I get with 8.5 the error:
bad text index "tk::anchor2"
while executing
".mainframe.frame.pw.pw.nb2.f/net/0#2/Zeitkonto#tk.sw.textWindow._t index tk::anchor2"

Is there another changed behaviour?
Why do I get a text anchor (tk::anchor2) which seems to be invalid?
What could happen, that an anchor is set in 8.4 but not in 8.5?

Any more hints?

--
Gerhard Reithofer
Tech-EDV Support Forum - http://support.tech-edv.co.at
First  |  Prev  | 
Pages: 1 2
Prev: Why to use packages
Next: acomplia canadian pharmacies