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

From palmerj
Subject Re: Suggested query editor improvements: Tabs and Indentation
Date
Msg-id 000401c78cf1$55ce9f40$0a00a8c0@creeping
Whole thread Raw
In response to Suggested query editor improvements: Tabs and Indentation  (<palmerj@xtra.co.nz>)
Responses Re: Suggested query editor improvements: Tabs and Indentation
List pgadmin-hackers
Hi Dave,

I know this is digging up something from the past, but is this still planned
for the next release? I don't see it on the development TODO list.

Thanks
Jeremy

> -----Original Message-----
> From: pgadmin-hackers-owner ( at ) postgresql ( dot ) org
> [mailto:pgadmin-hackers-owner ( at ) postgresql ( dot ) org] On Behalf Of
> palmerj ( at ) xtra ( dot ) co ( dot ) nz
> Sent: 19 September 2006 23:57
> To: pgadmin-hackers ( at ) postgresql ( dot ) org
> Subject: [pgadmin-hackers] Suggested query editor
> improvements: Tabs and Indentation
>
> Hi,
>
> 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.

> - Have an auto-indent scheme. One I enjoy using is indents to
> the first non-empty column. (I think the Scintilla
> SCI_GETCOLUMN should be able to help with this).

Yes, that is also on my personal todo.

Regards, Dave



pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: compile problems
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r6255 - in trunk/pgadmin3: . pgadmin/ctl pgadmin/frm pgadmin/include/utils pgadmin/ui pgadmin/utils