mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 10:00:34 +02:00
SynEdit: persistent block: QH, QB work if block is hidden / notify is called if block gets hidden
git-svn-id: trunk@20974 -
This commit is contained in:
parent
084169277d
commit
e480675e27
@ -5921,13 +5921,11 @@ begin
|
||||
end;
|
||||
ecBlockGotoBegin:
|
||||
begin
|
||||
if SelAvail then
|
||||
FCaret.LineBytePos := FBlockSelection.FirstLineBytePos;
|
||||
FCaret.LineBytePos := FBlockSelection.FirstLineBytePos;
|
||||
end;
|
||||
ecBlockGotoEnd:
|
||||
begin
|
||||
if SelAvail then
|
||||
FCaret.LineBytePos := FBlockSelection.LastLineBytePos;
|
||||
FCaret.LineBytePos := FBlockSelection.LastLineBytePos;
|
||||
end;
|
||||
|
||||
ecBlockIndent:
|
||||
|
@ -1230,6 +1230,7 @@ begin
|
||||
FHide := AValue;
|
||||
FInvalidateLinesMethod(Min(FStartLinePos, FEndLinePos),
|
||||
Max(FStartLinePos, FEndLinePos) );
|
||||
FOnChangeList.CallNotifyEvents(self);
|
||||
end;
|
||||
|
||||
procedure TSynEditSelection.SetPersistent(const AValue: Boolean);
|
||||
|
Loading…
Reference in New Issue
Block a user