mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 17:22:11 +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;
|
||||
FForceSingleLineSelected := AValue;
|
||||
|
||||
if WasAvail <> SelAvail then
|
||||
if WasAvail <> SelAvail then begin
|
||||
FInvalidateLinesMethod(Min(FStartLinePos, FEndLinePos),
|
||||
Max(FStartLinePos, FEndLinePos) );
|
||||
fOnChangeList.CallNotifyEvents(self);
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TSynEditSelection.SetHide(const AValue: Boolean);
|
||||
|
Loading…
Reference in New Issue
Block a user