SynEdit: Ifdef Markup: SourceEditor: Do not invalidate, if all node states are going to be written

git-svn-id: trunk@41190 -
This commit is contained in:
martin 2013-05-14 15:00:29 +00:00
parent 76bf70d6c4
commit 0f1b45ef98

View File

@ -5451,7 +5451,7 @@ begin
if Scanner.ChangeStep=FLastIfDefNodeScannerStep then exit;
debugln(['TSourceEditor.UpdateIfDefNodeStates UPDATING ',Filename]);
FLastIfDefNodeScannerStep:=Scanner.ChangeStep;
EditorComponent.InvalidateAllIfdefNodes;
//EditorComponent.InvalidateAllIfdefNodes;
Code:=CodeBuffer;
for i:=0 to Scanner.DirectiveCount-1 do
begin