Monday, 8 April 2013

Re: Text area refresh

On Fri, 5 Apr 2013 13:09:01 +0200, J. F. Lemaire wrote:

> On 5 April 2013 12:30, <p.slegg@scubadivers.co.uk> wrote:
>
> > What I have noticed recently is that pasting into the text area with Ctrl-V
> > creates 2 copies of the pasted text.
>
> Yes, I noticed this too. I suspect this is a frontend issue, however,
> not a core one, since each platform has its own mechanism to access
> the clipboard.

I'm not so sure. Here the frontend handles RAmiga-V as a paste
shortcut, and that works wonderfully. However, something (I'm
suspecting the core, as I haven't added any code for this) is trapping
Ctrl-V and handling that as a paste operation too.

You've neglected to mention what platform you are using, but what I
suspect is happening, is the frontend is handling Ctrl-V as a paste
operation, and that shortcut is also reaching the core, which handles
it again as a paste - hence the two pastes.

The core handling of Ctrl-V (and any other similar shortcuts) probably
needs to be tracked down and obliterated.

Chris

No comments:

Post a Comment