Determining a scroll based on code unit offsets
Bob Sneidar
bobsneidar at iotecdigital.com
Fri Mar 27 14:01:26 EDT 2020
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.
More information about the use-livecode
mailing list