mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-09 19:57:45 +01:00
SynEdit: added missing nil check
git-svn-id: trunk@28559 -
This commit is contained in:
parent
3eb09e0ba4
commit
74e9ccac95
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user