Re: Suggested query editor improvements: Tabs and - Mailing list pgadmin-hackers

From Florian G. Pflug
Subject Re: Suggested query editor improvements: Tabs and
Date
Msg-id 451965C2.5050009@phlo.org
Whole thread Raw
In response to Re: Suggested query editor improvements: Tabs and Indentation  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-hackers
Dave Page wrote:
>> -----Original Message-----
>> From: pgadmin-hackers-owner@postgresql.org
>> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
>> palmerj@xtra.co.nz
>> Sent: 19 September 2006 23:57
>> To: pgadmin-hackers@postgresql.org
>> Subject: [pgadmin-hackers] Suggested query editor
>> improvements: Tabs and Indentation
>>
>> I work really appreciate a few features in the query editor
>> for Tabs and Indentation:
>>
>> - Set whether indentation should use tab or spaces
>> - Set the tab width
>> - Set the spaces per indent
>
> Under File -> Options -> Query the is an indent characters option.
>
> Set it to zero and you will get single tab indents.
> Set it to a multiple of 8, and you will get N/8 tabs
> Set it to any other number and you will get that many spaces.
>
> I realise this is completely unintuitive but it might help you for now.
> Doing it properly was on my list for this cycle but never got done. I
> will look at it for the next release.
Could you maybe add some text into that dialog that explains the behaviour?
Otherwise, nobody will understand why pgadmin suddenly uses spaces instead
of tabs or vice versa..
Of course, some indicator that tell if it's currently using tabs or spaces would
be even better ;-)

greetings, Florian Pflug

pgadmin-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Strange spotted of a GrantWizard Dialog.
Next
From: Christophe Chauvet
Date:
Subject: Re: Strange spotted of a GrantWizard Dialog.