Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: maximum number of tabs in MLTE? max tabs appear to be causing truncation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: maximum number of tabs in MLTE? max tabs appear to be causing truncation



Rua Haszard Morris wrote:

An MLTE in our app has been truncating characters from view under certain conditions. It is a read-only MLTE, displaying up to 33 columns of numbers, with columns delimited by tabs. After ruling out margins and the destination rectangle it seems that the maximum number of tabs is the problem - after about 20 tab stops the text is not displayed. I have copied out the text and pasted it into an editor to verify that the truncated columns are there, just not visible in the MLTE.

Oh, so I am not crazy. :-) I have the same problem, it is very disturbing, over a certain
number of tab stops, the rest of the line disappears completely, but I never saw anyone
mentioning the problem. Ugly bug, yet another example showing that MLTE is
insufficient and we need a good open source solution (especially now when MLTE
doesn't seem to have a future anyway).


My question is: is there a way to increase the number of tab stops in an MLTE?

Not as far as I have read.

My solution will be to simply disallow tab stops over the maximum number, replacing
them with spaces, but I guess that won't help you. Would it be possible for you to use a
fix-spaced font?


If you are not making an editor but rather displaying lists, skip MLTE and roll it yourself.
Simply displaying text is pretty easy.



/Ingemar

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.