mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 14:39:06 +02:00
SynEdit: Fixed Option for MouseLink (when not using MouseActions)
git-svn-id: trunk@49192 -
This commit is contained in:
parent
5d0a5d2225
commit
fee02222c7
@ -172,6 +172,13 @@ var
|
|||||||
i: Integer;
|
i: Integer;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
|
|
||||||
|
if not (emUseMouseActions in TCustomSynEdit(SynEdit).MouseOptions) then begin
|
||||||
|
Result := (emShowCtrlMouseLinks in TCustomSynEdit(SynEdit).MouseOptions) and
|
||||||
|
(AShift * [ssShift, ssCtrl, ssAlt] = [ssCtrl]);
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
// todo: check FMouseSelActions if over selection?
|
// todo: check FMouseSelActions if over selection?
|
||||||
for i := 0 to TCustomSynEdit(SynEdit).MouseActions.Count - 1 do begin
|
for i := 0 to TCustomSynEdit(SynEdit).MouseActions.Count - 1 do begin
|
||||||
act := TCustomSynEdit(SynEdit).MouseActions.Items[i];
|
act := TCustomSynEdit(SynEdit).MouseActions.Items[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user