#437 Resize Problem in SynCompletionProposal

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

Every time the ProposalForm is shown, the height of the form is increased by EffectiveItemHeight.
I located the bug in the TSynBaseCompletionProposalForm.CanResize function.
The calculation of NewLinesInWindow is not correct:

now:

NewLinesInWindow := (NewHeight-FHeightBuffer) div FEffectiveItemHeight;

fixed:

NewLinesInWindow := (NewHeight-FHeightBuffer - BorderWidth) div FEffectiveItemHeight;

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:





No, thanks