Character length limit in fields - Part Duex!

Garrett Hylltun garrett at paraboliclogic.com
Fri Aug 11 19:54:31 EDT 2006


Rev 2.6.1 / Mac OS X

Greetings,

Recently I asked about the text width limit in characters of a  
field.  It seems that 65,536 characters is the limit, but there are  
definitely some issues with stuffing that much on one line of a field.

I am using "Lucida Grande Typewriter" as the font at size "12"

* Field set to no wrap, disabled and focusing not allowed;  the  
characters do not show up if you toss in over 32,000 characters.  If  
I keep at 32,000 characters, they are visible in the field.

* Field set to no wrap and has scroll bars;  Single line has only  
28,750 characters, characters are showing, but scrolling stops at  
about 665 characters.  But if break the line at 665, then the  
scrolling is allowed to go to about 995, break that second line down  
with a return and the scrolling is allowed to go even further.

I'm trying to make a simple text editor that uses monospaced only  
fonts, with a character grid/guide so I know at what character  
position I am at when typing text.

Screenshot of the scroll and length issue here:
http://www.paraboliclogic.com/fieldproblem.jpg

Does anyone have any insight into this issue?


Thanks,
-Garrett



More information about the use-livecode mailing list