mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 10:32:34 +02:00
SynEdit: Fixed show/hide caret while not focused. Issue #0017599
git-svn-id: trunk@34029 -
This commit is contained in:
parent
534feafb8e
commit
56f08e8572
@ -7563,8 +7563,11 @@ begin
|
||||
// (un)register HWND as drop target
|
||||
if (eoDropFiles in ChangedOptions) and not (csDesigning in ComponentState) and HandleAllocated then
|
||||
; // ToDo DragAcceptFiles
|
||||
if (eoPersistentCaret in ChangedOptions) and HandleAllocated then
|
||||
if (eoPersistentCaret in ChangedOptions) and HandleAllocated then begin
|
||||
UpdateCaret;
|
||||
if not Focused then
|
||||
FScreenCaret.Visible := (eoPersistentCaret in FOptions);
|
||||
end;
|
||||
if (eoShowSpecialChars in ChangedOptions) and HandleAllocated then
|
||||
Invalidate;
|
||||
fMarkupSpecialChar.Enabled := (eoShowSpecialChars in fOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user