Merged revision(s) 43486 #310fc7893e from trunk:

SourceEditor: added nil check for top-info
........

git-svn-id: branches/fixes_1_2@43517 -
This commit is contained in:
maxim 2013-12-07 17:07:17 +00:00
parent 47f777f294
commit 4cc4ba42fe

View File

@ -1361,7 +1361,7 @@ var
NodeFoldType: TPascalCodeFoldBlockType;
List: TLazSynEditNestedFoldsList;
begin
if (not FShowTopInfo) or (not HandleAllocated) then exit;
if (not FShowTopInfo) or (not HandleAllocated) or (TextView.HighLighter = nil) then exit;
if FSrcSynCaretChangedLock or not(TextView.HighLighter is TSynPasSyn) then exit;
FSrcSynCaretChangedLock := True;