• 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
Multiline Search and Replace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Multiline Search and Replace
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: Developer Transition System
  • Next by Date: Looking for a syntax highlighting control
  • Previous by thread: Re: Newbie ?: OTHER_CFLAGS and "unrecognized -fno-coalesce" trying open-source build
  • Next by thread: Re: Multiline Search and Replace
  • Index(es):
    • Date
    • Thread