synedit: hiding half visible caret on last visible line, bug #9916

git-svn-id: trunk@15415 -
This commit is contained in:
mattias 2008-06-13 19:28:58 +00:00
parent 85a91ea73f
commit a2eb97b8a3

View File

@ -5737,7 +5737,7 @@ begin
if (CX >= fGutterWidth)
and (CX < ClientWidth{$IFDEF SYN_LAZARUS}-ScrollBarWidth{$ENDIF})
and (CY >= 0)
and (CY < ClientHeight{$IFDEF SYN_LAZARUS}-ScrollBarWidth{$ENDIF})
and (CY < ClientHeight{$IFDEF SYN_LAZARUS}-ScrollBarWidth-fTextHeight{$ENDIF})
then begin
{$IFDEF SYN_LAZARUS}
SetCaretPosEx(Handle,CX,CY);