$::bottomtextbox insert end "\n[$::HASFOCUS tag ranges sel]"
Type abcdef
Highlight. It prints:
1.0 1.6
So it doesn't give me the text. It gives me the indices of the
selection. OK then:
$::bottomtextbox insert end "\n[$::HASFOCUS get [$::HASFOCUS tag ranges sel]]"
Can't even type. It throws an error:
bad text index ""
while executing
"$::HASFOCUS get [$::HASFOCUS tag ranges sel]"
What am I doing wrong this time?
--
Luc
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)