comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: My Program Sourcecode has a Mind of its Own Suddenly.
Date: Sat, 25 Aug 2012 11:03:54 +0100
Date: 2012-08-25T11:03:54+01:00	[thread overview]
Message-ID: <m2ehmvffud.fsf@pushface.org> (raw)
In-Reply-To: f11bb610-ff8b-46ec-aa13-034e12230708@googlegroups.com

Austin Obyrne <austin.obyrne@hotmail.com> writes:

> At first I thought this will stop when I rewrite my old stuff in a new
> folder but no, it is continuing – if for instance I copy and paste a
> procedure from another older folder into my present folder (still
> under construction) – the pasted source code appears as three spaces
> in from he left-hand edge when I would prefer it to to be my usual 2
> spaces.
>
> This I think is to do with my editor which is that which comes with
> the older gnat 311.p compiler.

3-spaces is AdaCore's standard indentation, so GPS will format to that
unless you tell it different.

But for it to change just by copying from one folder to another - no!

I use -gnaty (default style checks) for my own projects, so I've become
accustomed to 3-spaces. Except on Stack Overflow, where Markdown uses a
minimum of 4-spaces for code inserts.



  reply	other threads:[~2012-08-25 10:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25  8:30 My Program Sourcecode has a Mind of its Own Suddenly Austin Obyrne
2012-08-25 10:03 ` Simon Wright [this message]
2012-08-25 11:56   ` Austin Obyrne
2012-08-25 12:37   ` Austin Obyrne
2012-08-25 17:51 ` Mark Murray
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox