Second stumbling block

Richmond Mathewson richmondmathewson at gmail.com
Sun May 28 06:01:08 EDT 2017


It does: Thanks for pointing that out as it made me look more closely at 
my code and work out that
the cause of this was something else, which I have now rectified.

Richmond.

On 5/28/17 12:27 pm, Colin Holgate via use-livecode wrote:
> I just tried that, and the insertion point seems to be right after the new character. At least it is in LiveCode 8.
>
>
>> On May 28, 2017, at 10:21 AM, Richmond Mathewson via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> Here's a right &*^%$# with *textField*s:
>>
>> I have thousands of scripts that go something a bit like this:
>>
>> *set****the****text****of****the****selectedText****to****numToCodePoint**(107)*
>>
>> and when one is activated it pops the designated Unicode Glyph *INTO* the place
>> in the text inwith a textField where the user has set the cursor . . .
>>
>> and THAT is *groovy* . . .
>>
>> BUT, then the cursor jumps to the end of the text line which is *extremely ungroovy*
>>
>> as I want it to remain straight after the glyph it has just inserted in the textField . . .
>>
>> 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