mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 07:39:35 +02:00
SynEdit: fix invalidate (repaint) on line selection through gutter click / issue #0029490
git-svn-id: trunk@51576 -
This commit is contained in:
parent
9ff17efea7
commit
6e78df57da
@ -2307,8 +2307,11 @@ begin
|
|||||||
WasAvail := SelAvail;
|
WasAvail := SelAvail;
|
||||||
FForceSingleLineSelected := AValue;
|
FForceSingleLineSelected := AValue;
|
||||||
|
|
||||||
if WasAvail <> SelAvail then
|
if WasAvail <> SelAvail then begin
|
||||||
|
FInvalidateLinesMethod(Min(FStartLinePos, FEndLinePos),
|
||||||
|
Max(FStartLinePos, FEndLinePos) );
|
||||||
fOnChangeList.CallNotifyEvents(self);
|
fOnChangeList.CallNotifyEvents(self);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TSynEditSelection.SetHide(const AValue: Boolean);
|
procedure TSynEditSelection.SetHide(const AValue: Boolean);
|
||||||
|
Loading…
Reference in New Issue
Block a user