SynEdit: paint, ensure field for Attribute is initialized

git-svn-id: trunk@43426 -
This commit is contained in:
martin 2013-11-11 21:09:10 +00:00
parent 1ce927a927
commit 69a1873b27

View File

@ -332,6 +332,7 @@ begin
FNextMarkupLogPos := MaxInt;
end;
ATokenInfo.Attr := nil;
if FCurMarkupState = cmPastEOL
then Result := False
else Result := GetNextHighlighterTokenFromView(ATokenInfo, FNextMarkupPhysPos, FNextMarkupLogPos);