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 05:37:08 -0700 (PDT)
Date: 2012-08-25T05:37:08-07:00	[thread overview]
Message-ID: <4a0a6243-9121-40d0-963a-4cee1d0c333e@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.

Ignore that last - clearly overriding would mean just keying in at less than 3 spaces from LH side. Thank you - adacrypt



  parent reply	other threads:[~2012-08-25 12:37 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
2012-08-25 12:37   ` Austin Obyrne [this message]
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