Multiline Search and Replace
Multiline Search and Replace
- Subject: Multiline Search and Replace
- From: Tommy Nordgren <email@hidden>
- Date: Fri, 22 Jul 2005 15:50:26 +0200
Can XCode or some third party tool, do a
Multiline search and replace?
I want to replace the following:
#ifdef _cplusplus
#define BEGIN_DECLS extern "C" {
#define END_DECLS }
#else
with this :
#ifdef _cpluplus
#ifdef COMPILE_AS_CPLUSPLUS
#define BEGIN_DECLS
#define END_DECLS
#else
#define BEGIN_DECLS extern "C" {
#define END_DECLS }
#endif
#else
The reason I wan't to do this, is so that I can compile a set of C
libraries with C++ instead,
to allow error handlers to throw exceptions.
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
_______________________________________________
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