Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text editor - shift left/right



On May 31, 2006, at 14:09, Steve Mills wrote:

On May 31, 2006, at 12:06, Fritz Anderson wrote:

I'm confused. Doesn't Xcode automatically reindent one-line-or-more
pastes, making the original indentation irrelevant?

It does if you have the pref turned on, but I have it off because it
does some things in a way that I don't like. Maybe I'll turn it back
on for a while and see if anything has changed in the past few releases.

Well. I've had the "Syntax-aware indenting" pref turned on since my last post (no other prefs under that checkbox are turned on because they annoy me). I was just typing some new code and found that I couldn't type a tab between a type and a variable. I started with this temporary test code, not indented at all (I do that for test code so it's more obvious):


Fixed origSize;

Then Cut & Pasted it into the place I wanted it to live permanently. The pref automatically indented it to the correct place:

	Fixed origSize;

Then I deleted the space and tried to types a couple tabs so it would look like this:

	Fixed		origSize;

Only after deleting the space, hitting tab did nothing. Nada. Zip. Zilch. Yep, that's a mighty fine feature there. Anybody else see this?

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

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 © 2007 Apple Inc. All rights reserved.