#438 nil-Pointer-Exception in SynCompletionProposal

Not Fixed
open
nobody
None
5
2012-05-09
2012-05-09
DataJockey
No

If proposal form is visible and the form is closed then a Access Violation occurs.

I located the bug in the procedure TSynBaseCompletionProposalForm.WMActivate

now:

if Owner.Owner is TSynForm then
ParentForm := GetMDIParent(Owner.Owner as TSynForm)
else
ParentForm := nil;

fixed:

if (Owner <> nil) and (Owner.Owner is TSynForm) then
ParentForm := GetMDIParent(Owner.Owner as TSynForm)
else
ParentForm := nil;

I use DelphiXE2 with UniSynEdit V1.2.

best regards,
Daniel "DataJockey" Jonas

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks