Re: Messed up tabs in Example Code!
Re: Messed up tabs in Example Code!
- Subject: Re: Messed up tabs in Example Code!
- From: Kurt Bigler <email@hidden>
- Date: Tue, 08 Jul 2003 22:52:45 -0700
on 7/8/03 5:48 PM, john <email@hidden> wrote:
>
Hi Jont,
>
>
I use Arial regular and am always having to delete/add tabs with code I
>
get from everyone :) Not to mention all the times I have to do a cmd-[
>
on the entire file because it's got tabbing all over the place!
That's fine as long as no one else ever has to get code back from you! :)
Until such a day as everyone agrees on a single non-monospace font (ha!) as
_the_ standard for programming, using any monospace font simply avoids all
this nonsense, and using monospace isn't "the end of the world".
A better alternative would be a source editor that would interpret tabs in
such a way as to match positioning after whitespace to what would have been
produced with a monospace font and N spaces per tab (hopefully set to 4),
with an adjustable scale factor to customize interpretation when used with a
given non-monospace font. If you like this idea, maybe you can help me to
agitate for it. (Apologies for the OT.)
Lacking such a feature from any text editor (known to me) I just stick with
monospace, and wish everyone did.
-Kurt
>
>
-- John
>
>
>
> Our headers and sample code for the most part assume that you are
>
> using a monospaced font and have set things up so that a tab has the
>
> same width as 4 spaces.
>
>
>
>> Always when I open the Apple provided example code and headers in
>
>> Project Builder or Xcode the tabs and spaces are all messed up. It
>
>> makes it quite hard to follow what's going on. How do I fix this?
>
>> I've tried to change my values for Tab width and Indent width (in
>
>> Xcode/PB -> Preference) to compensate for this, but it's hard to get
>
>> it right...
>
>>
>
>> /Jont Olof
>
>
>
> Jeff Moore
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.