> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 04 November 2005 13:48
> To: Dave Page
> Cc: pgadmin-hackers
> Subject: Re: Query tool margin
>
> Use ConvertDialogToPixels.
> I'm still not happy, do we really need this? 999 wouldn't be
> enough, I
> do have bigger scripts. Additionally, screenshots need to be updated.
I ran into the problem very recently when debugging some functions - the
backend helpfully told me where the problems were, but of course, I had
a script, not the function itself in the window that reported the error.
I found myself cutting and pasting the function source into an external
editor to figure out which was line 543 or whatever. It became quite
tedious as I'm sure you can imagine.
I guess I could put the lline/column position of the cursor in the
status bar if you prefer? I had figured it could already get quite full
down there with query timings etc.
(and I wouldn't worry about the screenshots - I doubt anyone will ever
notice).
/D