Anyone?
--- In flexcoders@yahoogroups.com, "Dmitri Girski" <[EMAIL PROTECTED]> wrote: > > Question to Alex and the rest from Adobe gang: > > Why the TextField does not include in numLines the number of lines > which ends up with CR or LF? > > I.e. if you have a text: > > Mary has a little lamb<CR> (1) > Mary has a little lamb<CR> (2) > > And the width of TextField is big enough to accommodate the whole > string (1) without breaking it. > > TextField thinks that it has 2 lines. But when it starts rendering > text it places the <CR> symbol and we ending up with 4 lines of text. > > Is this a bug or feature? > > PS this is .text property, not the .htmlText (which has similar > problem of missing the <br>s from the count) > > > Thanks! >