Hi,
I was playing with TSynCompletion and I found a strange thing, maybe it's a bug but I didn't write
a bug report because I don't know if lazarus relies on this behavior:

When a SynCompletion is attached to a SynEdit via AddEditor method, it hooks itself to the OnKeyDown and
OnKeyPress events of synedit, and the previous handlers are saved.
Now, TSynCompletion should call the previous handlers after doing its stuff in its handlers, but the original OnKeyDown is almost never called (look at TSynCompletion.EditorKeyDown, in syncompletion.pas, line 1380): the original handler is called only when the SynCompletion shortcut has been pressed (usually
ctrl+space).

Should I send a patch to fix this? I am afraid that modifying these things could break lazarus...

bye,
Giulio

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to