Unix Technical Forum

Re: Improved copying from Edit Data Grid - rough

This is a discussion on Re: Improved copying from Edit Data Grid - rough within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto gadmin-hackers-owner@postgresql.org] On Behalf Of > Edward Di Geronimo Jr. > Sent: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 06:58 PM
Dave Page
 
Posts: n/a
Default Re: Improved copying from Edit Data Grid - rough



> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailtogadmin-hackers-owner@postgresql.org] On Behalf Of
> Edward Di Geronimo Jr.
> Sent: 03 February 2006 20:02
> To: Magnus Hagander
> Cc: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Improved copying from Edit
> Data Grid - rough
>
> Magnus Hagander wrote:
>
> >It think the quoting used when copy here should be the one from Copy
> >Quoting and not Export Quoting. I actually had it on my list

> to do that.
> >While you're working in taht code anyway, maybe do that while at it?
> >
> >

> Ok, I went back and did that as well. While in the process, I noticed
> that the setting to quote only strings also resulted in numbers being
> quoted. I redid the logic to fix that.
>
> >Does this also fix the complete weirdness that you can have

> *both* a row
> >*and* a cell in a different row selected at the same time? That keeps
> >throwing me off all the time.
> >
> >

> I didn't change the selection behavior at all, only the copy behavior.
>
> This version of the patch cleans up the code from my last patch. I
> changed the 3 overloaded versions of GetExportLine so that only 1
> version does the real work. The other two versions simply modify the
> input and call the real version.
>
> One other addition in this version - if you hit copy without
> any cells
> highlighted, it will copy the cell the cursor is in.


Sorry for taking a while to get to this.

Patch applied, with a minor change to make a couple of ints unsigned to
avoid compiler warnings. If you'd like to look at adding similar
functionality to the query tool, that'd be great :-)

Thanks Ed.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 06:58 PM
Andreas Pflug
 
Posts: n/a
Default Re: Improved copying from Edit Data Grid - rough

Dave Page wrote:

> If you'd like to look at adding similar
> functionality to the query tool, that'd be great :-)


Please note that the query tool output needs major redesign to use a
virtual control; the current (wx) implementation is dead slow on some
platforms.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 06:58 PM
Edward Di Geronimo Jr.
 
Posts: n/a
Default Re: Improved copying from Edit Data Grid - rough

Andreas Pflug wrote:

> Please note that the query tool output needs major redesign to use a
> virtual control; the current (wx) implementation is dead slow on some
> platforms.


Have any pointers on where I can find out more information on what needs
to be done?

Ed

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com