Menu

#21 SynCompletionProposal nil object reference

open
nobody
None
5
2006-09-29
2006-09-29
No

I've recently come across a small bug in the
TSynCompletionProposal, an owner reference is accessed
with out checking for nil.

This fix is located in the
TSynBaseCompletionProposalForm.WMActivate procedure.

Original line:

if (Owner.Owner is TSynForm) then

Fixed line:

if assigned(Owner) and (Owner.Owner is TSynForm) then

This is found in v2.03 of the SynEdit package.

Ryan.

Discussion


Log in to post a comment.