RE: the selectedText of a Unicode field

2011-06-17 Thread Slava Paperno
ists.runrev.com] On Behalf Of Mark Schonewille > Sent: Friday, June 17, 2011 5:28 AM > To: How to use LiveCode > Subject: Re: the selectedText of a Unicode field > > Hi Slava, > > You can try this: > > set the unicodetext of fld "YourSelection" to the unic

Re: the selectedText of a Unicode field

2011-06-17 Thread Mark Schonewille
Hi Slava, You can try this: set the unicodetext of fld "YourSelection" to the unicodetext of the selection or set the unicodetext of fld "YourSelection" to the unicodetext of the selectedChunk -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: htt

the selectedText of a Unicode field

2011-06-17 Thread Slava Paperno
b" because char 3 to 4 of "Bob" returns empty). I thought that Roman letters would be stored in the selectedText property as the combination of a null byte followed by the ANSI code, but apparently that is not the case: "Bob" is stored as three bytes, even when it is part of