• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: remembering cursor position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remembering cursor position


  • Subject: Re: remembering cursor position
  • From: David Ewing <email@hidden>
  • Date: Fri, 7 Dec 2007 11:04:01 -0700


On Dec 7, 2007, at 8:53 AM, David Dunham wrote:


On 7 Dec 2007, at 00:05, Philip Aker wrote:

This is the _least_ of my problems with Xcode editor windows. In 3.0, I can't even get it to type a return correctly in header files with:

#ifdef __cplusplus
	extern "C" {
#endif


| I have to type two returns and then the insertion point ends up indented by a tab two lines down. Like at the beginning of this line.


What is the return key bound to? (Preferences > Key Bindings > Text Key Bindings) Furthermore, there's some sort of bug associated with this binding, I don't recall exactly what but you might need to delete and renter it.

Indeed that's the fix. In 3.0, if you're using the built-in Metrowerks key bindings, the binding for "Insert Newline and Indent" is broken. The fix is to reset the binding to the return key (which will require you to duplicate the built-in bindings to a new set).


I thought this was only broken if you have "Syntax-aware indenting" turned off (though maybe I'm wrong). Philip's description of editing in a comment makes it sound like that's turned off:

Furthermore, every time I type inside a comment:

/*! @method
@discussion blah blah
*/

It keeps on indenting the lines inside the comment by a space. I _don't_ want any leading spaces in my comments.

It should only indent lines by a space if "Syntax-aware indenting" is on.


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


  • Follow-Ups:
    • Re: remembering cursor position
      • From: Philip Aker <email@hidden>
    • Re: remembering cursor position
      • From: Philip Aker <email@hidden>
References: 
 >remembering cursor position (From: email@hidden)
 >Re: remembering cursor position (From: David Ewing <email@hidden>)
 >Re: remembering cursor position (From: Philip Aker <email@hidden>)
 >Re: remembering cursor position (From: David Dunham <email@hidden>)

  • Prev by Date: Re: How to make a program look for dylibs other than /usr/local/lib?
  • Next by Date: Re: remembering cursor position
  • Previous by thread: Re: remembering cursor position
  • Next by thread: Re: remembering cursor position
  • Index(es):
    • Date
    • Thread