[haiku-development] Re: What is the use of #pragma mark?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 01 Jul 2010 15:02:29 +0200

Wim van der Meer <wpjvandermeer@xxxxxxxxx> wrote:
> On Thu, Jul 1, 2010 at 8:57 PM, Ithamar R. Adema
> <ithamar.adema@xxxxxxxxxxxxxxxx> wrote:
> > On Thu, 2010-07-01 at 20:36 +0900, Wim van der Meer wrote:
> >> commented #pragma mark statements in the Haiku source,
> >> which seems to be a way for Xcode (a suite of tools for developing
> >> software on Mac OS X) to organize source code.
> > Not only Xcode, but also our native editor Pe uses these IIRC.
> > IMHO, they should be kept.
> Even if they are commented out? I don't understand how these
> directives can be useful that way.

See for yourself how Pe presents those. They are definitely useful, and 
should be kept.

Bye,
   Axel.

Attachment: pragma-mark.png
Description: PNG image

Other related posts: