Re: [pgadmin-hackers] Copy to clipboard from ctlSQLBox on windows has line ends broken.

2015-10-07 Thread Dave Page
On Tue, Oct 6, 2015 at 11:23 PM, Nikolai Zhubr wrote: > Hi all, > > As I've now found, a lot of pgXXX::GetSql() functions autogenerate sql code > using hardcoded LF line ends ('\n\n'), and this has been so for ages, > therefore probably it is OK. > > But, in order for 'copy to clipboard' to work w

Re: [pgadmin-hackers] Copy to clipboard from ctlSQLBox on windows has line ends broken.

2015-10-06 Thread Nikolai Zhubr
Hi all, As I've now found, a lot of pgXXX::GetSql() functions autogenerate sql code using hardcoded LF line ends ('\n\n'), and this has been so for ages, therefore probably it is OK. But, in order for 'copy to clipboard' to work well (also on ms windows), these LF line ends have to be someho

[pgadmin-hackers] Copy to clipboard from ctlSQLBox on windows has line ends broken.

2015-10-06 Thread Nikolai Zhubr
Hi all, Just discovered this. Only applicable for ms windows probably. Copying several lines of text to clipboard from the SQL info panel - the one normally located in the bottom-right corner of the main pgadmin window (not editable) - results in broken line-ends when pasting. It used to work