Because the physical split may happen in the middle of a logical line, if the field is set to wrap. The 'pageRanges' mirrors the 'pageHeights' property in its logic to find out which chunk of the field represents a page.
Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) >________________________________ > From: Geoff Canyon <gcan...@gmail.com> >To: How to use LiveCode <use-livecode@lists.runrev.com> >Sent: Monday, August 26, 2013 6:22 PM >Subject: Re: Any ideas on working out number of characters(approx) that can be >entered into a field > > >On Mon, Aug 26, 2013 at 11:07 AM, J. Landman Gay ><jac...@hyperactivesw.com>wrote: > >> See the "pageRanges" property in the dictionary. It gives a list of >> character ranges that fit the height of the field. > > > >Crazy question -- what's the benefit of returning a character range instead >of a line range? >_______________________________________________ >use-livecode mailing list >use-livecode@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode