Visible text calculation

FlexibleLearning admin at FlexibleLearning.com
Mon Jan 2 12:45:05 EST 2012


Has anyone figured out how to convert pageHeights into the equivalent
character offsets of a field with variable lineHeights (e.g. char 1 to 174,
char 175 to 315, char 316 to 420)?

Put another way, using pageHeights to print a scrolling field, list the
first and last chars of each printed page.

Reason is to implement text flow (imagine virtual printing). Someone must
have been down this brain-befuddling route! Can you share the wisdom?


Hugh Senior
FLCo





More information about the use-livecode mailing list