Re: public schema not prefixed / copy + paste adds newline - Mailing list pgadmin-support

From Dave Page
Subject Re: public schema not prefixed / copy + paste adds newline
Date
Msg-id 46A5DE01.8050102@postgresql.org
Whole thread Raw
In response to Re: public schema not prefixed / copy + paste adds newline  (Erwin Brandstetter <brandstetter@falter.at>)
Responses Re: public schema not prefixed / copy + paste adds newline  (Dave Page <dpage@postgresql.org>)
List pgadmin-support
Erwin Brandstetter wrote:
> Dave Page wrote:
>> The problem is though, that it remains the underlying controls that
>> are doing the copy and the paste operations so we still have no way in
>> pgAdmin to filter it out. You can actually test this by pasting using
>> the button to do it - that does use our code which ensures it pastes
>> plain text (thus losing the RTF cruft that causes the 'newline'. The
>> problem is that the controls don't allow us to override their paste
>> hotkeys - at least if they do, it needs some unusual foo that I've yet
>> to stumble across.
> 
> Just to make sure ..
> Not copying and pasting is the root of the problem, but the incorrect
> representation of the text to begin with. This appended character should
> not be there, at least not selectable.
> Maybe you have a way to avoid the appendix, thus avoiding also the need
> to override copy / paste hotkeys?
> 
> If that is a no-go, too, then where can we file a bug report?

billg@microsoft.com ? In other words, you might as well shout the report
at the statue of David and hope it gets fixed :-(

By way of proof, you can recreate the bug exactly using Wordpad. Type a
single word, and check the are no blank lines (try arrowing down). Then
hit Ctrl-C and the mystery extra char also gets selected.

Paste it into pgAdmin's grid or Wordpad, and the newline will appear.

All is not necessarily lost however - it strike me that we might be able
to use the STC control instead of a rich textbox (thats the one we use
for the SQL input fields). I'll look into it....

/D




pgadmin-support by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: Installing PgAdmin GUI on Linux
Next
From: Dave Page
Date:
Subject: Re: public schema not prefixed / copy + paste adds newline