mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 21:00:23 +02:00
SynEdit: Simplified UpdateCaret, since it was moved to an object, state is maintained, and focus checks are not needed here any more.
Works around issue #17207 git-svn-id: trunk@27216 -
This commit is contained in:
parent
647bcccde4
commit
72b82c7a6c
@ -4370,9 +4370,7 @@ var
|
||||
cf: TCompositionForm;
|
||||
{$ENDIF}
|
||||
begin
|
||||
if ( (PaintLock <> 0) and not IgnorePaintLock ) or
|
||||
(not HandleAllocated) or
|
||||
((not Focused) and (not (eoPersistentCaret in fOptions)))
|
||||
if ( (PaintLock <> 0) and not IgnorePaintLock ) or (not HandleAllocated)
|
||||
then begin
|
||||
Include(fStateFlags, sfCaretChanged);
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user