mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 20:59:17 +02:00
SynEdit: switching OFF ScrollPastEndofFILE would not reset top-line, if editor was scrolled past eof
git-svn-id: trunk@20812 -
This commit is contained in:
parent
418b243b48
commit
56ba182492
@ -6663,8 +6663,10 @@ begin
|
||||
FCaret.KeepCaretX := (eoKeepCaretX in fOptions);
|
||||
if not (eoScrollPastEol in Options) then
|
||||
LeftChar := LeftChar;
|
||||
if (eoScrollPastEol in Options) or (eoScrollPastEof in Options) then
|
||||
if (eoScrollPastEol in Options) or (eoScrollPastEof in Options) then begin
|
||||
UpdateScrollBars;
|
||||
TopLine := TopLine;
|
||||
end;
|
||||
// (un)register HWND as drop target
|
||||
if (eoDropFiles in ChangedOptions) and not (csDesigning in ComponentState) and HandleAllocated then
|
||||
; // ToDo DragAcceptFiles
|
||||
|
Loading…
Reference in New Issue
Block a user