Problem with selectedChunk in Windows

Bruce A. Pokras macstacks at earthlink.net
Fri Nov 12 22:11:00 EST 2004


I have  a script that uses the selectedchunk to locate the cursor in 
a field so that it can add some text at the cursor location. This 
works fine in a standalone under Mac OS 9. However, it totally fails 
in a Windows standalone.

To test this out, I added an "answer" dialog to tell me what the 
selectedChunk was returning. On the Mac, it gave the expected "char # 
to # of cd fld x". Under Windows, it returned empty. Bugzilla showed 
two "selectedChunk" bugs, but one was for Mac, only, and the other 
related to pasting htmlText.

Anyone have a workaround?

Regards,

Bruce Pokras
Blazing Dawn Software
www.blazingdawn.com
mac-stacks at kagi.com


More information about the use-livecode mailing list