From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | Ken Winter <ken(at)sunward(dot)org>, pgAdmin Support List <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Show line numbers in SQL Editor? |
Date: | 2010-02-13 22:25:27 |
Message-ID: | 4B7726D7.3060001@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Le 13/02/2010 23:17, Guillaume Lelarge a écrit :
> Le 13/02/2010 23:00, Dave Page a écrit :
>> On Sat, Feb 13, 2010 at 9:55 PM, Guillaume Lelarge
>> <guillaume(at)lelarge(dot)info> wrote:
>>> Le 13/02/2010 22:43, Ken Winter a écrit :
>>>> Is there a way to get the pgAdmin SQL Editor to show line numbers?
>>>>
>>>
>>> This has been asked yesterday. See
>>> http://archives.postgresql.org/message-id/4b74a338.0e0bca0a.7758.ffffac84@mx.google.com
>>> for details.
>>>
>>> Strangely, my answer still isn't there. Anyways, I worked on it today. I
>>> have a patch that I'll apply in a few days if no one objects before.
>>
>> Depends how you propose to do it. We used to have line numbers down
>> the left, and some people found them annoying and distracting, so we
>> got rid of them in favour of the indicator in the status bar.
>>
>
> I use a margin on the left to show them. People can show/hide them,
> there's an option in the view menu (which is disabled by default, so we
> keep the same behaviour as now).
>
> I don't understand why my mail doesn't appear yet. I didn't get any
> message for the moderation queue.
>
By the way, if you wanna take a look at it, you can see what I did in
the ticket:
http://code.pgadmin.org/trac/ticket/138
Screenshots:
http://code.pgadmin.org/trac/attachment/ticket/138/linenumber.png
http://code.pgadmin.org/trac/attachment/ticket/138/linenumber2.png
Patch:
http://code.pgadmin.org/trac/attachment/ticket/138/ticket138_v1.patch
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Ken Winter | 2010-02-14 02:20:51 | Re: Show line numbers in SQL Editor? |
Previous Message | Guillaume Lelarge | 2010-02-13 22:17:52 | Re: Show line numbers in SQL Editor? |