synedit: fixed ctrl-mouseclick from Martin Friebe (issue #11661)

git-svn-id: trunk@15788 -
This commit is contained in:
vincents 2008-07-15 19:15:51 +00:00
parent 5e1643bf25
commit 3285b40fa7

View File

@ -2637,7 +2637,7 @@ begin
{$IFDEF SYN_LAZARUS}
if (eoShowCtrlMouseLinks in Options)
and not(wasDragging)
and (Button=mbLeft) and (Shift=[ssLeft,ssCtrl])
and (Button=mbLeft) and (ssCtrl in Shift)
and assigned(FOnClickLink)
then begin
FOnClickLink(Self, Button, Shift, X,Y);;