Dave Page a écrit :
> On Thu, Feb 26, 2009 at 4:49 PM, Guillaume Lelarge
> <[email protected]> wrote:
>> Dave Page a écrit :
>>> On Thu, Feb 26, 2009 at 4:43 PM, Guillaume Lelarge
>>> <[email protected]> wrote:
>>>
>>>> I took a look at this. It doesn't seem to me that it will requires a lot
>>>> of work. But using a text control will kill an interesting functionality
>>>> (which needs more love, but still the functionality is interesting).
>>>>
>>>> If you set the log_line_prefix to a specific format, the listview gets
>>>> two more columns (timestamp and level). If we change the listview
>>>> control with a text control, we will loose this functionality. I would
>>>> much prefer to keep it.
>>>>
>>>> Why do you want to have a text control? to copy part of the log text?
>>> Yeah - that was the idea (there's also a bug on Windows - each line
>>> ends with a square, which I assume is the <CR>).
>>>
>> Do you need to copy multiple lines? we can use the copy item of the edit
>> menu to allow one to copy one or more lines? if you're OK, I'll make a
>> patch for this and the Windows bug.
> 
> Sure, that would work. It'd be nice to be able to copy any of the
> listviews in fact (wouldn't be hard to do I guess - just iterate the
> rows and build a string with tab delimited columns and <lf> delimited
> rows).
> 

This patch does this : it copies every columns of every selected rows of
the active pane.

I didn't work on the square issue because I have a problem to compile
under Windows. I think it's due to the frmStatus.xrc file deletion but
can't find how to fix this. I'll look more tomorrow.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment: copytext_serverstatus_v1.patch.bz2
Description: application/bzip

-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to