SourceEditor: Only send one update to msg-view, if 2 Views exist

git-svn-id: trunk@24383 -
This commit is contained in:
martin 2010-04-03 21:04:46 +00:00
parent b1b4157851
commit 94672a57eb

View File

@ -4396,7 +4396,8 @@ procedure TSourceEditor.LinesInserted(Sender: TObject; FirstLine,
begin
// notify the notebook that lines were Inserted.
// marks will use this to update themselves
MessagesView.SrcEditLinesInsertedDeleted(Filename,FirstLine,Count);
if (Self = FSharedValues.SharedEditors[0]) then
MessagesView.SrcEditLinesInsertedDeleted(Filename,FirstLine,Count);
end;
procedure TSourceEditor.SetVisible(Value: boolean);