mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 14:31:29 +02:00
SourceEditor: Only send one update to msg-view, if 2 Views exist
git-svn-id: trunk@24383 -
This commit is contained in:
parent
b1b4157851
commit
94672a57eb
@ -4396,7 +4396,8 @@ procedure TSourceEditor.LinesInserted(Sender: TObject; FirstLine,
|
|||||||
begin
|
begin
|
||||||
// notify the notebook that lines were Inserted.
|
// notify the notebook that lines were Inserted.
|
||||||
// marks will use this to update themselves
|
// marks will use this to update themselves
|
||||||
MessagesView.SrcEditLinesInsertedDeleted(Filename,FirstLine,Count);
|
if (Self = FSharedValues.SharedEditors[0]) then
|
||||||
|
MessagesView.SrcEditLinesInsertedDeleted(Filename,FirstLine,Count);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TSourceEditor.SetVisible(Value: boolean);
|
procedure TSourceEditor.SetVisible(Value: boolean);
|
||||||
|
Loading…
Reference in New Issue
Block a user