[Lazarus] Cut, Copy, Paste shortcuts don't work in SynEdit

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Aug 12 12:42:22 CEST 2016


On Fri, 12 Aug 2016 11:23:45 +0100
Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:

> On 2016-08-12 10:56, Martin Frb wrote:
> > The issue is that the "time" in the events for different keys is the 
> > same. Apparently that means it is one event only (again Ive been told, I 
> > never looked at the gtk spec)
> > 
> > The LCL filters by that time.  
> 
> But wouldn’t that suggest that the whole of LCL (including TEdit, TMemo)
> would have that issue? With my testing, it is only SynEdit that has a
> problem. TEdit & TMemo works just fine with TM2030's hardware clipboard
> keys.

Martin meant the LCL custom control filters.
TEdit and TMemo are native controls, so their keys are handled mostly by
the widgetset itself.
SynEdit is a custom control, so the LCL and SynEdit has to handle the
composed/compound keys. I guess the problem lies in the LCL gtk2
interface.

 
> Either way, many thanks for the link to the bug tracker. I'll give that
> patch a try and report back.

Mattias


More information about the Lazarus mailing list