Re: xcode inserting ^S, how to stop?
Re: xcode inserting ^S, how to stop?
- Subject: Re: xcode inserting ^S, how to stop?
- From: David Ewing <email@hidden>
- Date: Mon, 12 Apr 2004 15:40:43 -0600
On Apr 12, 2004, at 12:32 PM, Kirk R. Wythers wrote:
I am getting an odd compile time error (error: stray '\23' in
program). When I look at my code in emacs, it appears that xcode's
editor is inserting an ascii '^S'. gcc must then be interpreting it as
some kind of return value.
Is there a way to stop xcode from continuing thin behavior?
Not at the moment. But to be clear, there are two things going on.
First, you're typing ctl-x, ctl-s. Xcode's not magically inserting
anything. Ctl-x is the first character in a two-character command
sequence, just like in emacs. Unfortunately, ctl-s is not bound to
anything as the second character so it gets inserted into the file.
Certainly, Xcode should not let you do that (it ought to beep like it
does if you type ctl-s by itself).
You can see the ctl-s' in your file by using the "Show Control
Characters" in the Format menu. You can also search for them by typing
ctl-x, ctl-s in the Find window's search field (an ugly hack).
Dave
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.