Determining a scroll based on code unit offsets
J. Landman Gay
jacque at hyperactivesw.com
Fri Mar 27 15:27:02 EDT 2020
I thought of that, but I only have access to a line number based on paragraphs.
On 3/27/20 1:01 PM, Bob Sneidar via use-livecode wrote:
> There is a formattedHeight
>
>
> On Mar 27, 2020, at 11:00 AM, Bob Sneidar <bobsneidar at iotecdigital.com<mailto:bobsneidar at iotecdigital.com>> wrote:
>
> is there a formattedTextHeight?
>
> Bob S
>
>
> On Mar 27, 2020, at 10:58 AM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
>
> 1,103,7
>
> While 7 is a line number, multiplying that by the textheight doesn't give consistent results due to line wrap. The first two items are codeunit offsets but there doesn't seem to be a way to translate those into pixel positions.
>
>
> _______________________________________________
> 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
>
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list