Re: Soft return in Xcode
Re: Soft return in Xcode
- Subject: Re: Soft return in Xcode
- From: Shripada Hebbar <email@hidden>
- Date: Thu, 27 May 2010 10:19:08 +0530
- "x-copyrighted-material: http://www.robosoftin.com"
- Thread-topic: Soft return in Xcode
You can split your lengthy literal by adding a backslash at each line ending
and hit enter to go to next line. Note that, by doing this, the literal
remains as is without newlines getting embedded.
Something like this:
Char * myStr = "This is really a lengthy\
String literal that is being split\
Into 3 lines";
HTH
-Shripada
On 27/05/10 3:11 AM, "email@hidden"
<email@hidden> wrote:
>
> Message: 10
> Date: Wed, 26 May 2010 16:39:35 -0500
> From: Lorenzo Thurman <x>
> Subject: Soft return in XCode
> To: "Apple Computer Inc." <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
>
> In the past, one could simply hit option-enter, but the IDE in XCode
> doesn't respect that. How does one go about that? I have a really long
> string literal that I'd like break into smaller chunks.
>
> --"My break-dancing days are over, but there's always the funky chicken"
> The Full Monty
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
_______________________________________________
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