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@lelarge.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.orghttp://dalibo.com