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:
martin 2009-07-27 12:24:04 +00:00
parent 084169277d
commit e480675e27
2 changed files with 3 additions and 4 deletions

View File

@ -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:

View File

@ -1230,6 +1230,7 @@ begin
FHide := AValue;
FInvalidateLinesMethod(Min(FStartLinePos, FEndLinePos),
Max(FStartLinePos, FEndLinePos) );
FOnChangeList.CallNotifyEvents(self);
end;
procedure TSynEditSelection.SetPersistent(const AValue: Boolean);