Re: xcode 2.2 editor problem
Re: xcode 2.2 editor problem
- Subject: Re: xcode 2.2 editor problem
- From: Rob Lockstone <email@hidden>
- Date: Fri, 4 Nov 2005 15:27:34 -0800
Could you please stop talking about unreleased software? Those of us
who don't have it (well, me at least) don't like being reminded of
it, not to mention that discussing it on a public list violates the
NDA. I mean, unless it was released today. Thanks.
Rob
On Nov 4, 2005, at 15:21 , Robert Dell wrote:
Dave MacLachlan wrote:
Robert...
Appeared to paste fine for me. Do you have "code indentation"
turned on in your prefs? I do not.
yes, i do. it appears to have problems with either @"\\\"" or
@"\"" which are both legal. what i'm doing is replacing all \"
with " in a string.
Cheers,
Dave
On Nov 4, 2005, at 3:20 AM, Robert Dell wrote:
case writeop:
{
while (currentOp == writeop)
{
[buildString setString:
[[[myAllScriptsArray objectAtIndex: i] objectForKey:
@"theScript"] objectAtIndex: j]];
if ([myLineArray count] > 0)
{
[buildString setString: [buildString
substringFromIndex: 6]];
[buildString
replaceOccurrencesOfString:@"\\n" withString: @"\n" options:
NSCaseInsensitiveSearch range: NSMakeRange(0,[buildString length])];
[buildString
replaceOccurrencesOfString:@"\\r" withString: @"\r" options:
NSCaseInsensitiveSearch range: NSMakeRange(0,[buildString length])];
[buildString
replaceOccurrencesOfString:@"\\t" withString: @" " options:
NSCaseInsensitiveSearch range: NSMakeRange(0,[buildString length])];
[buildString
replaceOccurrencesOfString:@"\\\"" withString: @"\"" options:
NSCaseInsensitiveSearch range: NSMakeRange(0,[buildString length])];
[myLineArray replaceObjectAtIndex: 0 withObject:
[NSMutableString stringWithString: buildString]];
[self replaceVariablesInLine: 0 scriptnumber: i];
[buildString setString: [[myAllScriptsArray objectAtIndex: i]
objectForKey: @"oututfiledata"]];
[buildString appendString: [myLineArray objectAtIndex: 0]];
[buildString appendString: @"\n"];
[[myAllScriptsArray objectAtIndex: i] setObject:
[NSMutableString stringWithString: buildString] forKey:
@"oututfiledata"];
};
j++;
currentOp = unknownop;
if (j < [[[myAllScriptsArray objectAtIndex: i] objectForKey:
@"theScript"] count])
{
[myScriptCommandLine setString: [[[myAllScriptsArray
objectAtIndex: i] objectForKey: @"theScript"] objectAtIndex: j]];
[self breakDownLine: myScriptCommandLine expandVariables: YES
scriptnumber: i];
currentOp = [self getop: [NSString stringWithString:
[myLineArray objectAtIndex: 0]]];
[myLineArray removeObjectAtIndex: 0];
}
};
j--;
break;
_______________________________________________
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
_______________________________________________
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