From 105c9b651749a54e5e0def02b97348a320d1c80f Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 26 Apr 2018 17:39:00 +0200 Subject: [PATCH] fix #307 - Cursor remains invisible while modal dialog is displayed --- src/ce_synmemo.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ce_synmemo.pas b/src/ce_synmemo.pas index 219aeb0e..0bf374ae 100644 --- a/src/ce_synmemo.pas +++ b/src/ce_synmemo.pas @@ -2814,6 +2814,9 @@ procedure TCESynMemo.handleStatusChanged(Sender: TObject; Changes: TSynStatusCha begin if scOptions in Changes then begin + // note: eoAutoHideCursor is buggy when eoAlwaysVisibleCaret is not also set + if eoAutoHideCursor in Options2 then + Options2 := Options2 + [eoAlwaysVisibleCaret]; if fSmartDdocNewline and not (eoAutoIndent in Options) then Options := Options + [eoAutoIndent]; if Beautifier.isNotNil and (Beautifier is TSynBeautifier) then