SynEdit: added missing nil check

git-svn-id: trunk@28559 -
This commit is contained in:
martin 2010-11-29 23:56:34 +00:00
parent 3eb09e0ba4
commit 74e9ccac95

View File

@ -3033,7 +3033,8 @@ begin
else
types.UnionRect(FInvalidateRect, FInvalidateRect, rcClip);
// Todo: painting is not save
FHighlighter.ScanRanges; // at least prevent some dangers
if fHighlighter <> nil then
FHighlighter.ScanRanges; // at least prevent some dangers
//exit;
end;
{$IFDEF EnableDoubleBuf}