comp.lang.ada
 help / color / mirror / Atom feed
From: Austin Obyrne <austin.obyrne@hotmail.com>
Subject: Re: My Program Sourcecode has a Mind of its Own Suddenly.
Date: Sat, 25 Aug 2012 04:56:22 -0700 (PDT)
Date: 2012-08-25T04:56:22-07:00	[thread overview]
Message-ID: <bfaf59be-188e-4221-aeac-3dd08fdda84f@googlegroups.com> (raw)
In-Reply-To: <m2ehmvffud.fsf@pushface.org>

On Saturday, August 25, 2012 11:03:54 AM UTC+1, Simon Wright wrote:
> 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.

Many Thanks for that very useful info.

Could you tell me how to override that default setting and go to two spaces?

Thanks  - Austin



  reply	other threads:[~2012-08-25 11:58 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
2012-08-25 11:56   ` Austin Obyrne [this message]
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