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:
NewLinesInWindow := (NewHeight-FHeightBuffer) div FEffectiveItemHeight;
NewLinesInWindow := (NewHeight-FHeightBuffer - BorderWidth) div FEffectiveItemHeight;
I use DelphiXE2 with UniSynEdit V1.2.
Daniel "DataJockey" Jonas
Log in to post a comment.