Script Editor and Unicode

Richmond richmondmathewson at gmail.com
Fri Jun 28 14:27:41 EDT 2013


On 06/28/2013 09:24 PM, Mark Schonewille wrote:
> Hi Richmond,
>
> Almost every current development tool can do that, except for 
> LiveCode. What we need is a UTF8 script editor.

Um!

That doesn't sound all that good.

What I do not understand is, if the script editor contains a field 
"Scripts" in which one writes scripts,
why one cannot put unicodeText into it just as one does in any other 
texrtField?

>
> -- 
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
> colour spaces. http://www.color-converter.com
>
> Buy my new book "Programming LiveCode for the Real Beginner" 
> http://qery.us/3fi
>
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
>
> On 6/28/2013 20:10, Richmond wrote:
>> I wonder how one can enter unicodeText directly into the script editor?
>>
>> When one wants to put a script into an object without opening the script
>> editor one does this sort of thing:
>>
>> set the script of btn "unicodeTest" to fld "Nonsense"
>>
>> now, if fld "nonsense" contains unicodeText that just ends up delivering
>> gobbledegook.
>>
>> this:
>>
>> set the useUnicode to true
>> set the script of btn "unicodeTest" to fld "Nonsense"
>>
>> is no better . . .
>>
>> the reason for this, presumably, is that when one enters unicodeText
>> into a fld the
>>
>> set the useUnicode to true  is directly addressed to the fld, while in
>> my rather feeble attempt above it is aimed at the script rather than the
>> script entry field of
>> the script editor
>>
>> if one tries this sort of thing:
>>
>> set the useUnicode to true
>> set the unicodeText of fld "Scripts" of the script of btn "unicodeTest"
>> to fld "Nonsense"
>>
>> an error is thrown.
>>
>> Richmond.
>>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list