mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 08:18:16 +02:00
SynEdit: Don't scroll 2nd Editor, if caret is out of View
git-svn-id: trunk@24541 -
This commit is contained in:
parent
fd53c6ae63
commit
f3a0eb85a3
@ -5581,6 +5581,12 @@ var
|
||||
PhysBlockBeginXY: TPoint;
|
||||
PhysBlockEndXY: TPoint;
|
||||
begin
|
||||
if (TSynEditStringList(FLines).PaintLockOwner <> nil) and
|
||||
(TSynEditStringList(FLines).PaintLockOwner <> Self) and
|
||||
(not (eoAlwaysVisibleCaret in fOptions2))
|
||||
then
|
||||
exit;
|
||||
|
||||
if (fPaintLock > 0) or (not HandleAllocated) or
|
||||
(FWinControlFlags * [wcfInitializing, wcfCreatingHandle] <> [])
|
||||
then begin
|
||||
|
Loading…
Reference in New Issue
Block a user