mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 19:46:01 +02:00
SynEdit: make shift-alt-left_mouse behave similar to shift-left_mouse. Start selection from old caret position. Issue #13238
git-svn-id: trunk@18950 -
This commit is contained in:
parent
d0e67fd760
commit
7a5c870566
@ -2236,11 +2236,10 @@ begin
|
|||||||
then begin
|
then begin
|
||||||
if ssShift in Shift then
|
if ssShift in Shift then
|
||||||
SetBlockEnd(LogCaretXY)
|
SetBlockEnd(LogCaretXY)
|
||||||
else begin
|
else
|
||||||
SetBlockBegin(LogCaretXY);
|
SetBlockBegin(LogCaretXY);
|
||||||
if (eoAltSetsColumnMode in Options) and (ssAlt in Shift) then
|
if (eoAltSetsColumnMode in Options) and (ssAlt in Shift) then
|
||||||
FBlockSelection.ActiveSelectionMode := smColumn
|
FBlockSelection.ActiveSelectionMode := smColumn
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
if (Button=mbMiddle)
|
if (Button=mbMiddle)
|
||||||
and ([sfDblClicked,sfTripleClicked,sfQuadClicked]*fStateFlags=[])
|
and ([sfDblClicked,sfTripleClicked,sfQuadClicked]*fStateFlags=[])
|
||||||
|
Loading…
Reference in New Issue
Block a user