pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Query Window - SQL Text Newline is copied to the ClipBoard as LF (and not as CRLF)

Open durumdara opened this issue 10 months ago • 1 comments

As I experienced that if I copy the Query SQL text to the ClipBoard, that NewLine sign is only LF.

On Windows OS the NewLine is CRLF.

Some tools can handle the orphan CR or LF, like Notepad++.

But if I paste the SQL text into DevExpress controls like cxMemo (= dialogs written in Delphi), the whole SQL is only one line!

It would be better if in Win64 compilation you use CRLF as NewLine and not only LF.

I hope that your GUI or Dev. Package allows this.

durumdara avatar Apr 18 '24 09:04 durumdara

This makes my work very difficult. Will the report be processed?

Matestro92 avatar Aug 09 '24 06:08 Matestro92

Found an issue:

On windows, the default should be CRLF but the editor takes LF as default.

pravesh-sharma avatar Oct 03 '24 05:10 pravesh-sharma

Working fine. Tested on snapshot build.

Env: OS - Windows 11 Mode - Desktop

pravesh-sharma avatar Oct 04 '24 05:10 pravesh-sharma