OS is Windows 7 64-bit, CPU Intel Core i3
Editor to paste from is notepad.
Actually the paste button works fine, but when I use CTRL+V the problem occurs:
procedure TMainForm.SynEditKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
Altered:= TRUE;
if (Shift = [ssCtrl]) then
begin
case Key of
VK_C: SynEdit.CommandProcessor(TSynEditorCommand(ecCopy), ' ', nil);
VK_V: SynEdit.CommandProcessor(TSynEditorCommand(ecPaste), ' ', nil);
VK_X: SynEdit.CommandProcessor(TSynEditorCommand(ecCut), ' ', nil);
end;
end;
end;
I shamelessly copied the code from somewhere on the Internet, but you would say that exactly the same command is executed as the speedbutton's code.