Post-postscript:
Well not quite! It's actually not sufficient to invoke the focus method only once. The Text or ROText widget must have the focus when the selecting is being done. If there are other widgets capable of acquiring focus, you must return the focus to the text widget using $t->focus; before any operations involving 'sel' are performed.
Now I'm curious if the code given in the first reply would work, even under Linux, if there were other widgets competing for the focus. Perhaps the only relevant difference between Linux and Windows is that Linux always assigns the focus to something when the program starts, and Windows doesn't.
In reply to RE: RE: Waking up text select
by Anonymous Monk
in thread Waking up text select
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |