Re: Option to turn auto-indentation off?

From: Dave Page <dpage(at)postgresql(dot)org>
To: Erwin Brandstetter <brandstetter(at)falter(dot)at>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Option to turn auto-indentation off?
Date: 2007-07-19 14:09:50
Message-ID: 469F70AE.6050102@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Erwin Brandstetter wrote:
> dpage(at)postgresql(dot)org wrote:
>> Erwin Brandstetter wrote:
>>> Hi developers! Hi Dave!
>>>
>>> Testing the pgAdmin III 1.8.0 Beta 1(Jul 13 2007, rev: 6423). Client
>>> Win XP, host: Debian Sarge / PG 8.1.8 and Debian Etch / PG 8.2.4
>>>
>>> Due to issues with multibyte characters, the auto-indentation feature
>>> in the SQL dialogue window - which is nice while it works - is a
>>> real nuisance as soon as a single multibyte character is involved,
>>> which is 90 % of the time in my case.
>>> Would you consider including an option to turn auto-indentation on /
>>> off? Might be a welcome addition by itself, too.
>>
>> Errr: Edit -> Auto Indent ?
>
> Arrgh! I have been seaching File -> Options over an over for this. Is
> it just me, or would others look for "Auto Indent" among options like
> "Indent characters" or "Use spaces instead of tabs", too? (Or is it the
> heat?) Anyway, my wish has been granted. Thanks! :)
> Another idea, though: with Edit -> Auto Indent you can set this option
> per window. What about a general setting in File -> Options?

It'll remember the last setting you used (iirc, it saves it when you
close the window), so just open 1 window, change the setting, then close
again and it should all be good from there on.

I'm trying to keep the main options dialog for things that apply to the
main window, or multiple windows these days. Auto-indent on/off seems
more likely to be toggled on a per window basis than one's preference
for tabs sizes etc.

I do hope to overhaul all the settings code next cycle though...

Regards, Dave

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2007-07-20 11:42:18 SVN Commit by dpage: r6459 - trunk/www/development
Previous Message Erwin Brandstetter 2007-07-19 13:39:48 Re: Option to turn auto-indentation off?