Page 1 of 1

Wrong cursor position in fields

Posted: Tue Nov 01, 2016 6:20 pm
by Little_Nemo
Hello,
I'm sorry to bounce off the opposite goal of this post (at the same time it is related somewhere), but is anyone know a solution to this recurring problem :evil: with all LiveCode versions: the cursor is offset from the actual insertion point with a long line of text if options fixedLineHeight and dontWrap are set to false.

With your example, by disabling fixedLineHeight, dontWrap and creating a long line here is the result:
ishot-306.jpg
The LiveCode field is completely unusable in this case. But this is indispensable if we want to offer the user a field to enter long sentences or paragraphs with the ability to insert images in his text.

Re: Wrong cursor position in fields

Posted: Tue Nov 01, 2016 6:28 pm
by FourthWorld
I've taken the liberty of moving your post into its own thread so folks searching here can find posts related to specific issues more easily. Going forward please open a new thread for a new topic.

As for your post itself, I believe that may be a known bug, in progress now:
http://quality.livecode.com/show_bug.cgi?id=17639

If you find your recipe doesn't match that one let's discuss to see if we need to file a separate bug report.

Re: Wrong cursor position in fields

Posted: Tue Nov 01, 2016 8:01 pm
by Little_Nemo
Sorry for this bad practice.
I made a comment on a bug post that you specified.
It's the good one.
I hope a solution for a long time.