mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:39:13 +02:00
SynEdit: update comment
This commit is contained in:
parent
e43acbc75e
commit
66d0227c6d
@ -2720,9 +2720,8 @@ begin
|
||||
if (not WaitingForInitialSize) then begin
|
||||
FIsInDecPaintLock := iplIgnoreAllowScroll; // Allow UpdateScrollBars and ScrollAfterTopLineChanged;
|
||||
(* EnsureCursorPosVisible or StatusChanged-events: may have scrolled
|
||||
This should not change the visibility of eithre scrollbar.
|
||||
So no further update of the Caret needed.
|
||||
- If needed this could move down, until right before ScrollAfterTopLineChanged
|
||||
This should not change the visibility of either scrollbar,
|
||||
so no further update of the Caret needed.
|
||||
*)
|
||||
if sfScrollbarChanged in fStateFlags then
|
||||
UpdateScrollbars;
|
||||
|
Loading…
Reference in New Issue
Block a user