Copy to clipboard from ctlSQLBox on windows has line ends broken.

Поиск
Список
Период
Сортировка
От Nikolai Zhubr
Тема Copy to clipboard from ctlSQLBox on windows has line ends broken.
Дата
Msg-id 5613D05E.1050702@yandex.ru
обсуждение исходный текст
Ответы Re: Copy to clipboard from ctlSQLBox on windows has line ends broken.  (Nikolai Zhubr <n-a-zhubr@yandex.ru>)
Список pgadmin-hackers
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 perfectly fine in some more older (well, ancient) versions...

Specifically, all text pasted appears as one huge single line, because
line ends seem to be all unix style (LF). (Saving such pasted text to a
file and looking at it in hex proves that LFs are there indeed instead
of CRLFs)

Now, for the SQL editor the problem does not really exist because there
is a respective preference setting, so going to menu and changing it as
appropriate helps (when copying from the editor). However, there is
apparently no preference setting for the (read-only) SQL info panel.

The problem was introduced before last release. It was present at least
in 1.18.1, maybe even earlier.

I'd appreciate if someone using ms windows confirmed the problem.

Meanwhile I'll try to see if I can fix it. I think copying to clipboard
should always use platform-default line-ends anyway...


Thank you,
Nikolai


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Tag REL-1_22_0-BETA1 has been created.
Следующее
От: Nikolai Zhubr
Дата:
Сообщение: Re: Copy to clipboard from ctlSQLBox on windows has line ends broken.