From 94672a57eb97aa29b502686675b1b13b25801bbf Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 3 Apr 2010 21:04:46 +0000 Subject: [PATCH] SourceEditor: Only send one update to msg-view, if 2 Views exist git-svn-id: trunk@24383 - --- ide/sourceeditor.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ide/sourceeditor.pp b/ide/sourceeditor.pp index 497dd01719..84c23548b3 100644 --- a/ide/sourceeditor.pp +++ b/ide/sourceeditor.pp @@ -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);