selectedText

Richmond richmondmathewson at gmail.com
Sun Nov 13 05:58:48 EST 2016


Possibly, just possibly, this should be disregarded as 
numToCodePoint(4000) yields
a Bengali character that behave is the way I described; but if one tries 
to insert numToCodePoint(93)
or numToCodePoint(2356) everything works as previously.

As one of my godfathers (a Bengali) would say "Bengalis always cause 
problems."

Richmond.

On 13.11.2016 12:21, Richmond wrote:
> Does anyone have any idea why when in Livecode 6.x if one
>
> has this:
>
> on mouseUp
>    set the useUnicode to true
>    set the unicodeText of the selectedText to numToChar(4000)
> end mouseUp
>
> it inserts the character between the chars where the insertion point 
> is inwith a field,
>
> but in Livecode 8.1.1
>
> this:
>
> on mouseUp
>    set the text of the selectedText to numToCodePoint(4000)
> end mouseUp
>
> it over-writes the char ontop of the existing text (and is bloody awful)?
>
> Richmond.





More information about the use-livecode mailing list