mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 15:40:41 +02:00
synedit: fixed showing caret on last line if clientheight is exactly height of line
git-svn-id: trunk@15484 -
This commit is contained in:
parent
4668307b4f
commit
15c5e3efa6
@ -5720,7 +5720,7 @@ begin
|
||||
if (CX >= fGutterWidth)
|
||||
and (CX < ClientWidth{$IFDEF SYN_LAZARUS}-ScrollBarWidth{$ENDIF})
|
||||
and (CY >= 0)
|
||||
and (CY < ClientHeight{$IFDEF SYN_LAZARUS}-ScrollBarWidth-fTextHeight{$ENDIF})
|
||||
and (CY <= ClientHeight{$IFDEF SYN_LAZARUS}-ScrollBarWidth-fTextHeight{$ENDIF})
|
||||
then begin
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
SetCaretPosEx(Handle,CX,CY);
|
||||
|
Loading…
Reference in New Issue
Block a user